Last active
August 29, 2015 14:09
-
-
Save ebouchut/02702251cbf07d218507 to your computer and use it in GitHub Desktop.
git push.default: Which branch(es) to (implicitely) push by default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config `push.default`: | |
– `nothing`: do nothing (make the user say what they mean) | |
– `matching`: push all local branches for which a remote branch of the same name exists | |
– `upstream`: push only the current branch, push it to its upstream, making push and pull symmetric | |
– `simple`: like upstream, but only if the branch names match (will become default in 2.0) | |
– `current`: push just the current branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment