Code

Documentation: "rebase <onto> <that>" stays on <that> branch upon exit
[git.git] / Documentation / git-rebase.txt
index 96680c84561c434c4cf3a00cfe958b21f18a3d8d..ac3589464096e5ad557a5ac896a4a65642b79724 100644 (file)
@@ -66,8 +66,9 @@ would be:
     D---E---F---G master
 ------------
 
-The latter form is just a short-hand of `git checkout topic`
-followed by `git rebase master`.
+*NOTE:* The latter form is just a short-hand of `git checkout topic`
+followed by `git rebase master`. When rebase exits `topic` will
+remain the checked-out branch.
 
 If the upstream branch already contains a change you have made (e.g.,
 because you mailed a patch which was applied upstream), then that commit