Recommending --set-upstream when doing a git push to a feature branch.

This is nice because it means git will tell you when your branch is
ahead/behind by several commits, assuming you keep working on it.
This commit is contained in:
Christopher Allan Webber 2011-06-16 08:33:10 -05:00
parent 0e9dd2a286
commit 595944d464

View File

@ -136,7 +136,7 @@ Slartibartfast does the following:
4. Slartibartfast pushes his changes to his clone (the remote is named 4. Slartibartfast pushes his changes to his clone (the remote is named
``origin``):: ``origin``)::
git push origin issue_42 git push origin issue_42 --set-upstream
5. Slartibartfast adds a comment to issue 42 with the url for his 5. Slartibartfast adds a comment to issue 42 with the url for his
repository and the name of the branch he put the code in. He also repository and the name of the branch he put the code in. He also