Permalink
Browse files

gitconfig: default upstream to origin.

  • Loading branch information...
1 parent b894060 commit ccefa56feada3c5bcaa29b0e59f2705379722791 @MikeMcQuaid committed Jan 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 gitconfig
View
@@ -35,7 +35,7 @@
# Print the name of the current branch.
current-branch = symbolic-ref --short HEAD
# Print the name of the current upstream tracking branch.
- upstream = !git config --get branch.$(git current-branch).remote
+ upstream = !git config --get branch.$(git current-branch).remote || echo origin
# Cherry-pick a commit with your signature.
sign = cherry-pick --signoff
# List all current SVN externals for this repository.

0 comments on commit ccefa56

Please sign in to comment.