4 ms·
You can configure `git push` to push just the current branch to its configured remote, by setting 'push.default' to 'upstream'. `git config --global push.defau
by ben_h 14y ago
You can configure `git push` to push just the current branch to its configured remote, by setting 'push.default' to 'upstream'.
`git config --global push.default upstream`
The relevant docs (droplr'd, since you can't anchor-link into the online manpages): http://d.pr/Rlqn http://d.pr/Rlqn