Created
April 26, 2009 20:10
-
-
Save neoeinstein/102157 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/doc/Howto-thandy.txt b/doc/Howto-thandy.txt | |
index 98ee4ee..f542ca5 100644 | |
--- a/doc/Howto-thandy.txt | |
+++ b/doc/Howto-thandy.txt | |
@@ -234,6 +234,15 @@ history, and the head of the 'master' branch now just point | |
s at them. | |
If there are changes, git will try to merge for you. | |
+`git pull` is essentially just `git fetch` followed by `git merge`. If you | |
+already have work that is based on a remote branch, you may want to rebase | |
+instead of letting `git merge` create an implicit merge commit: | |
+ | |
+----- | |
+% git fetch origin | |
+% git rebase origin/master | |
+----- | |
+ | |
Now, what should we do about our local ftp branch? It's still based on | |
the pre-pull version. We have a few choices. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment