Skip to content

Commit a4032cd

Browse files
committed
[FEATURE] Removed deprecated tracking option
Remove --set-upstream (deprecated) and use --track instead Thanks to @markusfalk who reported the issue Refs #2
1 parent d008c49 commit a4032cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_cheat_sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159

160160
* Set remote-tracking branch for current local branch
161161

162-
git branch --set-upstream <local-branch> <remote>/<remote-branch>
162+
git branch --track <local-branch> <remote>/<remote-branch>
163163

164164
* Delete a local branch
165165

0 commit comments

Comments
 (0)