Skip to content

Commit 159a5a2

Browse files
committed
Merge branch 'mg/maint-pull-suggest-upstream-to'
Follow-on to the new "--set-upstream-to" topic from v1.8.0 to avoid suggesting the deprecated "--set-upstream". * mg/maint-pull-suggest-upstream-to: push/pull: adjust missing upstream help text to changed interface
2 parents 6050b5b + a3a4391 commit 159a5a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-parse-remote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ See git-${cmd}(1) for details
8080
8181
If you wish to set tracking information for this branch you can do so with:
8282
83-
git branch --set-upstream ${branch_name#refs/heads/} $remote/<branch>
83+
git branch --set-upstream-to=$remote/<branch> ${branch_name#refs/heads/}
8484
"
8585
fi
8686
exit 1

0 commit comments

Comments
 (0)