<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-commit.txt, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-13T08:32:10Z</updated>
<entry>
<title>Documentation: git-commit in 1.2.X series defaults to --include.</title>
<updated>2006-02-13T08:32:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-13T08:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=64491e1ea95acde1aa77db539ba498593a0fcbc5'/>
<id>urn:sha1:64491e1ea95acde1aa77db539ba498593a0fcbc5</id>
<content type='text'>
The documentation was mistakenly describing the --only semantics to
be default.  The 1.2.0 release and its maintenance series 1.2.X will
keep the traditional --include semantics as the default.  Clarify the
situation.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: revamp the git-commit semantics.</title>
<updated>2006-02-07T07:20:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-05T08:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=130fcca63fe8e7e087e7419907e018cbbaf434a3'/>
<id>urn:sha1:130fcca63fe8e7e087e7419907e018cbbaf434a3</id>
<content type='text'>
 - "git commit" without _any_ parameter keeps the traditional
   behaviour.  It commits the current index.

   We commit the whole index even when this form is run from a
   subdirectory.

 - "git commit --include paths..." (or "git commit -i paths...")
   is equivalent to:

   	git update-index --remove paths...
        git commit

 - "git commit paths..." acquires a new semantics.  This is an
   incompatible change that needs user training, which I am
   still a bit reluctant to swallow, but enough people seem to
   have complained that it is confusing to them.  It

   1. refuses to run if $GIT_DIR/MERGE_HEAD exists, and reminds
      trained git users that the traditional semantics now needs
      -i flag.

   2. refuses to run if named paths... are different in HEAD and
      the index (ditto about reminding).  Added paths are OK.

   3. reads HEAD commit into a temporary index file.

   4. updates named paths... from the working tree in this
      temporary index.

   5. does the same updates of the paths... from the working
      tree to the real index.

   6. makes a commit using the temporary index that has the
      current HEAD as the parent, and updates the HEAD with this
      new commit.

 - "git commit --all" can run from a subdirectory, but it updates
   the index with all the modified files and does a whole tree
   commit.

 - In all cases, when the command decides not to create a new
   commit, the index is left as it was before the command is
   run.  This means that the two "git diff" in the following
   sequence:

       $ git diff
       $ git commit -a
       $ git diff

   would show the same diff if you abort the commit process by
   making the commit log message empty.

This commit also introduces much requested --author option.

	$ git commit --author 'A U Thor &lt;author@example.com&gt;'

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Minor git-reset and git-commit documentation fixes</title>
<updated>2006-01-22T03:11:51Z</updated>
<author>
<name>J. Bruce Fields</name>
<email>bfields@fieldses.org</email>
</author>
<published>2006-01-21T23:54:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8278ac2f4a50a8aca0dca490d2b8b99b11e266e1'/>
<id>urn:sha1:8278ac2f4a50a8aca0dca490d2b8b99b11e266e1</id>
<content type='text'>
Minor copyediting of recent additions to git-commit and git-reset
documentation.

Signed-off-by: J. Bruce Fields &lt;bfields@citi.umich.edu&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Documentation: git-commit -a</title>
<updated>2006-01-13T20:59:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-13T20:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cb95bf488b4363b51bd0aebc877a928858e51545'/>
<id>urn:sha1:cb95bf488b4363b51bd0aebc877a928858e51545</id>
<content type='text'>
A bit more elaboration on what "update all paths" means.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Wrap synopsis lines and use [verse] to keep formatting</title>
<updated>2006-01-06T02:44:28Z</updated>
<author>
<name>Jonas Fonseca</name>
<email>fonseca@diku.dk</email>
</author>
<published>2005-12-31T17:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=353ce81597e831969ac37d6991346f8c39c1488e'/>
<id>urn:sha1:353ce81597e831969ac37d6991346f8c39c1488e</id>
<content type='text'>
In addition, also fixes a few synopses to be more consistent and a gitlink.

Signed-off-by: Jonas Fonseca &lt;fonseca@diku.dk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Examples of resetting.</title>
<updated>2005-12-17T02:23:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-17T02:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ae854c3567dd10055fbe12b8bd91bd2d447f55f'/>
<id>urn:sha1:3ae854c3567dd10055fbe12b8bd91bd2d447f55f</id>
<content type='text'>
Morten Welinder says examples of resetting is really about
recovering from botched commit/pulls.  I agree that pointers
from commands that cause a reset to be needed in the first place
would be very helpful.

Also reset examples did not mention "pull/merge" cases.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Documentation/git-commit.txt: Add long options and -- to documentation.</title>
<updated>2005-12-08T23:50:14Z</updated>
<author>
<name>Nikolai Weibull</name>
<email>mailing-lists.git@rawuncut.elitemail.org</email>
</author>
<published>2005-12-08T23:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eaa54efc619879ef0d0f7b95f5357d8dab86a713'/>
<id>urn:sha1:eaa54efc619879ef0d0f7b95f5357d8dab86a713</id>
<content type='text'>
Added the following long options to documentation:

* --all
* --signoff
* --verify
* --no-verify
* --edit

Also added documentation for the -- option for terminating option parsing.

Signed-off-by: Nikolai Weibull &lt;nikolai@bitwi.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>The synopsis of the manpages should use the hyphenated version</title>
<updated>2005-10-10T23:01:32Z</updated>
<author>
<name>Christian Meder</name>
<email>chris@absolutegiganten.org</email>
</author>
<published>2005-10-10T23:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cc1621e2a02ed2a408571ed6f6ba84de2166e334'/>
<id>urn:sha1:cc1621e2a02ed2a408571ed6f6ba84de2166e334</id>
<content type='text'>
The synopsis of the manpages should use the hyphenated version of the git
commands. Adapt the remaining offenders.

Signed-off-by: Christian Meder &lt;chris@absolutegiganten.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Remove the version tags from the manpages</title>
<updated>2005-10-10T21:49:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-10T21:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98438bd0e893c23186fb82ea8b04964c0f1ef9d1'/>
<id>urn:sha1:98438bd0e893c23186fb82ea8b04964c0f1ef9d1</id>
<content type='text'>
Signed-off-by: Christian Meder &lt;chris@absolutegiganten.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Documentation: Update all files to use the new gitlink: macro</title>
<updated>2005-09-20T22:07:52Z</updated>
<author>
<name>Sergey Vlasov</name>
<email>vsu@altlinux.ru</email>
</author>
<published>2005-09-19T10:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a7154e916c6fab01dfb67629dae8c4430daff669'/>
<id>urn:sha1:a7154e916c6fab01dfb67629dae8c4430daff669</id>
<content type='text'>
The replacement was performed automatically by these commands:

	perl -pi -e 's/link:(git.+)\.html\[\1\]/gitlink:$1\[1\]/g' \
		README Documentation/*.txt
	perl -pi -e 's/link:git\.html\[git\]/gitlink:git\[7\]/g' \
		README Documentation/*.txt

Signed-off-by: Sergey Vlasov &lt;vsu@altlinux.ru&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
