From: Christopher Allan Webber Date: Thu, 16 Jun 2011 13:33:10 +0000 (-0500) Subject: Recommending --set-upstream when doing a git push to a feature branch. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=595944d46483112a9348df240cfb84a3ec2246f8;p=mediagoblin.git 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. --- diff --git a/docs/git.rst b/docs/git.rst index 8eb038b2..c3f7ccce 100644 --- a/docs/git.rst +++ b/docs/git.rst @@ -136,7 +136,7 @@ Slartibartfast does the following: 4. Slartibartfast pushes his changes to his clone (the remote is named ``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 repository and the name of the branch he put the code in. He also