1 To: git@vger.kernel.org
2 Subject: A note from the maintainer
4 Welcome to the Git development community.
6 This message is written by the maintainer and talks about how Git
7 project is managed, and how you can work with it.
9 The current maintainer is Junio C Hamano <gitster@pobox.com>; please
10 do not send any private message to this address, because it is likely
11 that such a message will not be seen by any human being. Spam filters
12 learned that legitimate messages to the address come only from a very
13 few sender addresses that are known to be good, and messages from all
14 others are likely to be spam unless they are also sent to the mailing
15 list at the same time (i.e. "Reply-all" to the list message would
16 reach the mailbox, but "Reply" will likely be thrown into the spam
20 * Mailing list and the community
22 The development is primarily done on the Git mailing list. Help
23 requests, feature proposals, bug reports and patches should be sent to
24 the list address <git@vger.kernel.org>. You don't have to be
25 subscribed to send messages. The convention on the list is to keep
26 everybody involved on Cc:, so it is unnecessary to say "Please Cc: me,
29 As an anti-spam measure, the mailing list software rejects messages
30 that are not text/plain and drops them on the floor. If you are a
31 GMail user, you'd want to make sure "Plain text mode" is checked.
33 Before sending patches, please read Documentation/SubmittingPatches
34 and Documentation/CodingGuidelines to familiarize yourself with the
37 If you sent a patch and you did not hear any response from anybody for
38 several days, it could be that your patch was totally uninteresting,
39 but it also is possible that it was simply lost in the noise. Please
40 do not hesitate to send a reminder message in such a case. Messages
41 getting lost in the noise may be a sign that those who can evaluate
42 your patch don't have enough mental/time bandwidth to process them
43 right at the moment, and it often helps to wait until the list traffic
44 becomes calmer before sending such a reminder.
46 The list archive is available at a few public sites:
48 http://lore.kernel.org/git/
49 http://marc.info/?l=git
50 http://www.spinics.net/lists/git/
52 For those who prefer to read it over NNTP:
54 nntp://nntp.lore.kernel.org/org.kernel.vger.git
55 nntp://news.public-inbox.org/inbox.comp.version-control.git
59 When you point at a message in a mailing list archive, using its
60 message ID is often the most robust (if not very friendly) way to do
63 http://lore.kernel.org/git/Pine.LNX.4.58.0504150753440.7211@ppc970.osdl.org
65 Often these web interfaces accept the message ID with enclosing <>
66 stripped (like the above example to point at one of the most important
67 message in the Git list).
69 Some members of the development community can sometimes be found on
70 the #git and #git-devel IRC channels on FreeNode (historically, but
71 the IRC situation is in flux at the moment). Their logs are available
74 http://colabti.org/irclogger/irclogger_log/git
75 http://colabti.org/irclogger/irclogger_log/git-devel
77 There is a volunteer-run newsletter to serve our community ("Git Rev
78 News" http://git.github.io/rev_news/).
80 Git is a member project of software freedom conservancy, a non-profit
81 organization (https://sfconservancy.org/). To reach a committee of
82 liaisons to the conservancy, contact them at <git@sfconservancy.org>.
84 For our expectations on the behaviour of the community participants
85 towards each other, see CODE_OF_CONDUCT.md at the top level of the source
88 https://github.com/git/git/blob/master/CODE_OF_CONDUCT.md
93 When you think git does not behave as you expect, please do not stop
94 your bug report with just "git does not work". "I used git in this
95 way, but it did not work" is not much better, neither is "I used git
96 in this way, and X happend, which is broken". It often is that git is
97 correct to cause X happen in such a case, and it is your expectation
98 that is broken. People would not know what other result Y you expected
99 to see instead of X, if you left it unsaid.
101 Please remember to always state
103 - what you wanted to achieve;
105 - what you did (the version of git and the command sequence to reproduce
108 - what you saw happen (X above);
110 - what you expected to see (Y above); and
112 - how the last two are different.
114 See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html for further
115 hints. Our `git bugreport` tool gives you a handy way you can use to
116 make sure you do not forget these points when filing a bug report.
118 If you think you found a security-sensitive issue and want to disclose
119 it to us without announcing it to wider public, please contact us at
120 our security mailing list <git-security@googlegroups.com>. This is
121 a closed list that is limited to people who need to know early about
122 vulnerabilities, including:
124 - people triaging and fixing reported vulnerabilities
125 - people operating major git hosting sites with many users
126 - people packaging and distributing git to large numbers of people
128 where these issues are discussed without risk of the information
129 leaking out before we're ready to make public announcements.
132 * Repositories and documentation.
134 My public git.git repositories are (mirrored) at:
136 https://git.kernel.org/pub/scm/git/git.git/
137 https://kernel.googlesource.com/pub/scm/git/git
138 https://repo.or.cz/alt-git.git/
139 https://github.com/git/git/
140 https://gitlab.com/git-vcs/git/
142 This one shows not just the main integration branches, but also
143 individual topics broken out:
145 https://github.com/gitster/git/
147 A few web interfaces are found at:
149 http://git.kernel.org/pub/scm/git/git.git
150 https://kernel.googlesource.com/pub/scm/git/git
151 http://repo.or.cz/w/alt-git.git
153 Preformatted documentation from the tip of the "master" branch can be
156 https://git.kernel.org/pub/scm/git/git-{htmldocs,manpages}.git/
157 https://repo.or.cz/git-{htmldocs,manpages}.git/
158 https://github.com/gitster/git-{htmldocs,manpages}.git/
160 The manual pages formatted in HTML for the tip of 'master' can be
163 https://git.github.io/htmldocs/git.html
166 * How various branches are used.
168 There are four branches in git.git repository that track the source tree
169 of git: "master", "maint", "next", and "seen".
171 The "master" branch is meant to contain what are very well tested and
172 ready to be used in a production setting. Every now and then, a
173 "feature release" is cut from the tip of this branch. They used to be
174 named with three dotted decimal digits (e.g. "1.8.5"), but we have
175 switched the versioning scheme and "feature releases" are named with
176 three-dotted decimal digits that ends with ".0" (e.g. "1.9.0").
178 The last such release was 2.32 done on June 6th, 2021. You can expect
179 that the tip of the "master" branch is always more stable than any of
180 the released versions.
182 Whenever a feature release is made, "maint" branch is forked off from
183 "master" at that point. Obvious and safe fixes after a feature
184 release are applied to this branch and maintenance releases are cut
185 from it. Usually the fixes are merged to the "master" branch first,
186 several days before merged to the "maint" branch, to reduce the chance
187 of last-minute issues. The maintenance releases used to be named with
188 four dotted decimal, named after the feature release they are updates
189 to (e.g. "1.8.5.1" was the first maintenance release for "1.8.5"
190 feature release). These days, maintenance releases are named by
191 incrementing the last digit of three-dotted decimal name (e.g. "2.29.2"
192 was the second maintenance release for the "2.29" series).
194 New features never go to the 'maint' branch. It is merged into "master"
195 primarily to propagate the description in the release notes forward.
197 A new development does not usually happen on "master". When you send a
198 series of patches, after review on the mailing list, a separate topic
199 branch is forked from the tip of "master" (or somewhere older, especially
200 when the topic is about fixing an earlier bug) and your patches are queued
201 there, and kept out of "master" while people test it out. The quality of
202 topic branches are judged primarily by the mailing list discussions.
204 Topic branches that are in good shape are merged to the "next" branch. In
205 general, the "next" branch always contains the tip of "master". It might
206 not be quite rock-solid, but is expected to work more or less without major
207 breakage. The "next" branch is where new and exciting things take place. A
208 topic that is in "next" is expected to be polished to perfection before it
209 is merged to "master". Please help this process by building & using the
210 "next" branch for your daily work, and reporting any new bugs you find to
211 the mailing list, before the breakage is merged down to the "master".
213 The "seen" (formerly "pu", proposed updates) branch bundles all the
214 remaining topic branches the maintainer happens to have seen. There
215 is no guarantee that the maintainer has enough bandwidth to pick up any
216 and all topics that are remotely promising from the list traffic, so
217 please do not read too much into a topic being on (or not on) the "seen"
218 branch. This branch is mainly to remind the maintainer that the topics
219 in them may turn out to be interesting when they are polished, nothing
220 more. The topics on this branch aren't usually complete, well tested,
221 or well documented and they often need further work. When a topic that
222 was in "seen" proves to be in a testable shape, it is merged to "next".
224 You can run "git log --first-parent master..seen" to see what topics are
225 currently in flight. Sometimes, an idea that looked promising turns out
226 to be not so good and the topic can be dropped from "seen" in such a case.
227 The output of the above "git log" talks about a "jch" branch, which is an
228 early part of the "seen" branch; that branch contains all topics that
229 are in "next" and a bit more (but not all of "seen") and is used by the
230 maintainer for his daily work.
232 The two branches "master" and "maint" are never rewound, and "next"
233 usually will not be either. After a feature release is made from
234 "master", however, "next" will be rebuilt from the tip of "master"
235 using the topics that didn't make the cut in the feature release.
236 Some topics that used to be in "next" during the previous cycle may
237 get ejected from "next" when this happens.
239 A natural consequence of how "next" and "seen" bundles topics together
240 is that until a topic is merged to "next", updates to it is expected
241 by replacing the patch(es) in the topic with an improved version,
242 and once a topic is merged to "next", updates to it needs to come as
243 incremental patches, pointing out what was wrong in the previous
244 patches and how the problem was corrected.
246 Note that being in "next" is not a guarantee to appear in the next
247 release, nor even in any future release. There were cases that topics
248 needed reverting a few commits in them before graduating to "master",
249 or a topic that already was in "next" was reverted from "next" because
250 fatal flaws were found in it after it was merged to "next".
253 * Other people's trees.
255 Documentation/SubmittingPatches outlines to whom your proposed changes
256 should be sent. As described in contrib/README, I would delegate fixes
257 and enhancements in contrib/ area to the primary contributors of them.
259 Although the following are included in git.git repository, they have their
260 own authoritative repository and maintainers:
262 - git-gui/ comes from git-gui project, maintained by Pratyush Yadav:
264 https://github.com/prati0100/git-gui.git
266 - gitk-git/ comes from Paul Mackerras's gitk project:
268 git://ozlabs.org/~paulus/gitk
270 - po/ comes from the localization coordinator, Jiang Xin:
272 https://github.com/git-l10n/git-po/
274 When sending proposed updates and fixes to these parts of the system,
275 please base your patches on these trees, not git.git (the former two
276 even have different directory structures).