Skip to content

Commit f50c740

Browse files
committed
set-upstream-master uses new form of branch set-upstream-to.
1 parent 88b967e commit f50c740

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
lp = log --relative-date -p
4949

5050
conflicts = diff --name-only --diff-filter=U
51-
set-upstream-master = "!f(){ git branch --set-upstream $(git rev-parse --abbrev-ref HEAD) origin/master; };f"
52-
track-master = "!f(){ git branch --set-upstream $(git rev-parse --abbrev-ref HEAD) origin/master; };f"
51+
set-upstream-master = branch --set-upstream-to=origin/master
5352

5453
# retires a branch by renaming it to zMONTH-DAY-name. Use: git bretire branchname
5554
# this one allows autocomplete.

0 commit comments

Comments
 (0)