]> git.ipfire.org Git - thirdparty/git.git/blame - CODE_OF_CONDUCT.md
Merge branch 'sm/worktree-add-lock'
[thirdparty/git.git] / CODE_OF_CONDUCT.md
CommitLineData
5cdf2301
JK
1# Git Code of Conduct
2
3This code of conduct outlines our expectations for participants within
4the Git community, as well as steps for reporting unacceptable behavior.
5We are committed to providing a welcoming and inspiring community for
6all and expect our code of conduct to be honored. Anyone who violates
7this code of conduct may be banned from the community.
8
9## Our Pledge
10
0d28d3cf
ÆAB
11We as members, contributors, and leaders pledge to make participation in our
12community a harassment-free experience for everyone, regardless of age, body
13size, visible or invisible disability, ethnicity, sex characteristics, gender
14identity and expression, level of experience, education, socio-economic status,
15nationality, personal appearance, race, religion, or sexual identity
16and orientation.
17
18We pledge to act and interact in ways that contribute to an open, welcoming,
19diverse, inclusive, and healthy community.
5cdf2301
JK
20
21## Our Standards
22
0d28d3cf
ÆAB
23Examples of behavior that contributes to a positive environment for our
24community include:
5cdf2301 25
0d28d3cf
ÆAB
26* Demonstrating empathy and kindness toward other people
27* Being respectful of differing opinions, viewpoints, and experiences
28* Giving and gracefully accepting constructive feedback
29* Accepting responsibility and apologizing to those affected by our mistakes,
30 and learning from the experience
31* Focusing on what is best not just for us as individuals, but for the
32 overall community
5cdf2301 33
0d28d3cf 34Examples of unacceptable behavior include:
5cdf2301 35
0d28d3cf
ÆAB
36* The use of sexualized language or imagery, and sexual attention or
37 advances of any kind
38* Trolling, insulting or derogatory comments, and personal or political attacks
5cdf2301 39* Public or private harassment
0d28d3cf
ÆAB
40* Publishing others' private information, such as a physical or email
41 address, without their explicit permission
5cdf2301
JK
42* Other conduct which could reasonably be considered inappropriate in a
43 professional setting
44
0d28d3cf 45## Enforcement Responsibilities
5cdf2301 46
0d28d3cf
ÆAB
47Community leaders are responsible for clarifying and enforcing our standards of
48acceptable behavior and will take appropriate and fair corrective action in
49response to any behavior that they deem inappropriate, threatening, offensive,
50or harmful.
5cdf2301 51
0d28d3cf
ÆAB
52Community leaders have the right and responsibility to remove, edit, or reject
53comments, commits, code, wiki edits, issues, and other contributions that are
54not aligned to this Code of Conduct, and will communicate reasons for moderation
55decisions when appropriate.
5cdf2301
JK
56
57## Scope
58
0d28d3cf
ÆAB
59This Code of Conduct applies within all community spaces, and also applies when
60an individual is officially representing the community in public spaces.
61Examples of representing our community include using an official e-mail address,
62posting via an official social media account, or acting as an appointed
63representative at an online or offline event.
5cdf2301
JK
64
65## Enforcement
66
67Instances of abusive, harassing, or otherwise unacceptable behavior may be
0d28d3cf 68reported to the community leaders responsible for enforcement at
3f9ef874
JK
69git@sfconservancy.org, or individually:
70
71 - Ævar Arnfjörð Bjarmason <avarab@gmail.com>
72 - Christian Couder <christian.couder@gmail.com>
73 - Jeff King <peff@peff.net>
74 - Junio C Hamano <gitster@pobox.com>
75
0d28d3cf
ÆAB
76All complaints will be reviewed and investigated promptly and fairly.
77
78All community leaders are obligated to respect the privacy and security of the
79reporter of any incident.
80
81## Enforcement Guidelines
82
83Community leaders will follow these Community Impact Guidelines in determining
84the consequences for any action they deem in violation of this Code of Conduct:
85
86### 1. Correction
87
88**Community Impact**: Use of inappropriate language or other behavior deemed
89unprofessional or unwelcome in the community.
90
91**Consequence**: A private, written warning from community leaders, providing
92clarity around the nature of the violation and an explanation of why the
93behavior was inappropriate. A public apology may be requested.
94
95### 2. Warning
96
97**Community Impact**: A violation through a single incident or series
98of actions.
99
100**Consequence**: A warning with consequences for continued behavior. No
101interaction with the people involved, including unsolicited interaction with
102those enforcing the Code of Conduct, for a specified period of time. This
103includes avoiding interactions in community spaces as well as external channels
104like social media. Violating these terms may lead to a temporary or
105permanent ban.
106
107### 3. Temporary Ban
108
109**Community Impact**: A serious violation of community standards, including
110sustained inappropriate behavior.
111
112**Consequence**: A temporary ban from any sort of interaction or public
113communication with the community for a specified period of time. No public or
114private interaction with the people involved, including unsolicited interaction
115with those enforcing the Code of Conduct, is allowed during this period.
116Violating these terms may lead to a permanent ban.
117
118### 4. Permanent Ban
119
120**Community Impact**: Demonstrating a pattern of violation of community
121standards, including sustained inappropriate behavior, harassment of an
122individual, or aggression toward or disparagement of classes of individuals.
123
124**Consequence**: A permanent ban from any sort of public interaction within
125the community.
126
5cdf2301
JK
127## Attribution
128
0d28d3cf
ÆAB
129This Code of Conduct is adapted from the [Contributor Covenant][homepage],
130version 2.0, available at
131[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
132
133Community Impact Guidelines were inspired by
134[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
135
136For answers to common questions about this code of conduct, see the FAQ at
137[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
138at [https://www.contributor-covenant.org/translations][translations].
5cdf2301
JK
139
140[homepage]: https://www.contributor-covenant.org
0d28d3cf
ÆAB
141[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
142[Mozilla CoC]: https://github.com/mozilla/diversity
143[FAQ]: https://www.contributor-covenant.org/faq
144[translations]: https://www.contributor-covenant.org/translations
5cdf2301 145