设置当前仓库:
git config push.default current
设置全局:
git config –global push.default current
其它值:
nothing – do not push anything.
matching – push all matching branches. All branches having the same name in both ends are considered to be matching. This is the default.
upstream – push the current branch to its upstream branch.
tracking – deprecated synonym for upstream.
current – push the current branch to a branch of the same name.