X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-parse-remote.sh;h=0e87e0915ee16e36385aa4182b3a4271d1308641;hb=9798f7e5f948b2586c33d850f6a00d4fc0537d75;hp=484b2e61ccd6df166a8d6447556ccca4236840ad;hpb=69759917aa4b1efb5bf198e76c3664bed9c70d4d;p=git.git diff --git a/git-parse-remote.sh b/git-parse-remote.sh index 484b2e61c..0e87e0915 100644 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -80,7 +80,7 @@ See git-${cmd}(1) for details If you wish to set tracking information for this branch you can do so with: - git branch --set-upstream ${branch_name#refs/heads/} $remote/ + git branch --set-upstream-to=$remote/ ${branch_name#refs/heads/} " fi exit 1