]> git.donarmstrong.com Git - lilypond.git/commitdiff
CG: add info about git rebase -i.
authorGraham Percival <graham@percival-music.ca>
Mon, 28 Feb 2011 08:19:58 +0000 (08:19 +0000)
committerGraham Percival <graham@percival-music.ca>
Mon, 28 Feb 2011 09:05:05 +0000 (09:05 +0000)
Documentation/contributor/source-code.itexi

index 54d8ba7d7e7d94affcf3fb73c395d2129f385cdc..79833e13d9c9d1658cc7ca304231e548176721da 100644 (file)
@@ -1086,6 +1086,7 @@ several Git branches of LilyPond source code is presented.
 * Git log::
 * Applying remote patches::
 * Sending and receiving patches via email::
+* Cleaning up multiple patches::
 * Commit access::
 @end menu
 
@@ -1353,6 +1354,23 @@ provided on the Wine wiki at
 @uref{http://wiki.winehq.org/GitWine}.
 
 
+@node Cleaning up multiple patches
+@subsection Cleaning up multiple patches
+
+If you have been developing on your own branch for a while, you
+may have more commmits than is really sensible.  To revise your
+work and condense commits, use:
+
+@example
+git rebase origin/master
+git rebase -i origin/master
+@end example
+
+@warning{Be a bit cautious -- if you completely remove commits
+during the interactive session, you will... err... completely
+remove those commits.}
+
+
 @node Commit access
 @subsection Commit access
 
@@ -1378,6 +1396,9 @@ you visit the link, follow the steps for including the CAcert root
 certificate in your browser, given at
 @uref{http://savannah.gnu.org/tls/tutorial/}.
 
+@warning{Savannah will silently put your username in lower-case --
+do not try to use capital letters.}
+
 
 @item
 After registering, if you are not logged in automatically, login