Permalink
Browse files

git 1.8.0 no longer supports branch --set-upstream

  • Loading branch information...
1 parent e1acb8f commit 36b93c3ed6da7644b1be23cfc113a74af404637f @sunaku committed Nov 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .alias.d/git.sh
View
2 .alias.d/git.sh
@@ -189,7 +189,7 @@ gbH() {
branch=$(gb1)
remote=${1:-origin}
echo "$remote" | fgrep -vq "/" && remote="$remote/$branch"
- git branch --set-upstream "$branch" "$remote"
+ git branch -u "$remote" "$branch"
}
#-----------------------------------------------------------------------------

0 comments on commit 36b93c3

Please sign in to comment.