Answers for "git push default"


git push default

Possible values: nothing, matching, upstream, current and simple.
Since Git 2.0, simple became the default (replacing matching)

To view the current configuration:
git config --global push.default

To set a new configuration, for example current:
git config --global push.default current
Posted by: Guest on January-25-2021

git push default

# Configure git to always push to "origin master"
git push -u origin master
Posted by: Guest on December-20-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language