Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

gitconfig: default upstream to origin.

  • Loading branch information...
commit ccefa56feada3c5bcaa29b0e59f2705379722791 1 parent b894060
@mikemcquaid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gitconfig
View
2  gitconfig
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.