summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7b55eee)
raw | patch | inline | side by side (parent: 7b55eee)
author | Sergei Organov <osv@javad.com> | |
Fri, 2 Nov 2007 17:12:57 +0000 (20:12 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 2 Nov 2007 22:38:24 +0000 (15:38 -0700) |
Documentation quotes commit messages 14 times with double-quotes, and 7
times with single-quotes. The patch turns everything to double-quotes.
A nice side effect is that documentation becomes more Windoze-friendly
as AFAIK single quotes won't work there.
Signed-off-by: Sergei Organov <osv@javad.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
times with single-quotes. The patch turns everything to double-quotes.
A nice side effect is that documentation becomes more Windoze-friendly
as AFAIK single quotes won't work there.
Signed-off-by: Sergei Organov <osv@javad.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/core-tutorial.txt | patch | blob | history | |
Documentation/everyday.txt | patch | blob | history | |
Documentation/git-reset.txt | patch | blob | history |
index df147b5e76879851a5a95f4ddb9695786f042d56..67064dd31ab1d5533ea1ccbba968b531765ee866 100644 (file)
------------------------------------------------
$ git checkout mybranch
$ echo "Work, work, work" >>hello
-$ git commit -m 'Some work.' -i hello
+$ git commit -m "Some work." -i hello
------------------------------------------------
Here, we just added another line to `hello`, and we used a shorthand for
------------
$ echo "Play, play, play" >>hello
$ echo "Lots of fun" >>example
-$ git commit -m 'Some fun.' -i hello example
+$ git commit -m "Some fun." -i hello example
------------
since the master branch is obviously in a much better mood.
'commit-fix' next, like this:
------------
-$ git merge -m 'Merge fix in diff-fix' diff-fix
-$ git merge -m 'Merge fix in commit-fix' commit-fix
+$ git merge -m "Merge fix in diff-fix" diff-fix
+$ git merge -m "Merge fix in commit-fix" commit-fix
------------
Which would result in:
index 08c61b1f1ac6ca880c6c3a4f311f65486aabd23e..ce7c170d6982cfd92ca0a23da77cbd6d6901e869 100644 (file)
$ cd frotz
$ git-init
$ git add . <1>
-$ git commit -m 'import of frotz source tree.'
+$ git commit -m "import of frotz source tree."
$ git tag v2.43 <2>
------------
+
$ git checkout maint
$ git cherry-pick master~4 <9>
$ compile/test
-$ git tag -s -m 'GIT 0.99.9x' v0.99.9x <10>
+$ git tag -s -m "GIT 0.99.9x" v0.99.9x <10>
$ git fetch ko && git show-branch master maint 'tags/ko-*' <11>
$ git push ko <12>
$ git push ko v0.99.9x <13>
index 15e3aca9a17cbcc651079968c76b571a9d144696..87afa6f8da0c6421e909663fe79a6f8b0fc0a7d8 100644 (file)
------------
$ git checkout feature ;# you were working in "feature" branch and
$ work work work ;# got interrupted
-$ git commit -a -m 'snapshot WIP' <1>
+$ git commit -a -m "snapshot WIP" <1>
$ git checkout master
$ fix fix fix
$ git commit ;# commit with real log