diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-03-07 15:13:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-07 15:13:15 -0800 |
commit | 009055f3ecd8d9b4eb140429cb5ce5d2088174c7 (patch) | |
tree | 20b94ea336a2cd7435a937b253f9527761e062cb /Documentation/config.txt | |
parent | 6ab4ae2b415c375170309c2b7ace0e4daa8d0215 (diff) | |
parent | b2ed944af79041b4da151a432064c3b1c1b82fc5 (diff) | |
download | git-009055f3ecd8d9b4eb140429cb5ce5d2088174c7.tar.gz |
Merge branch 'jc/push-2.0-default-to-simple'
Finally update the "git push" default behaviour to "simple".
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 02776e51c8..73904bce55 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -142,19 +142,13 @@ advice.*:: -- pushUpdateRejected:: Set this variable to 'false' if you want to disable - 'pushNonFFCurrent', 'pushNonFFDefault', + 'pushNonFFCurrent', 'pushNonFFMatching', 'pushAlreadyExists', 'pushFetchFirst', and 'pushNeedsForce' simultaneously. pushNonFFCurrent:: Advice shown when linkgit:git-push[1] fails due to a non-fast-forward update to the current branch. - pushNonFFDefault:: - Advice to set 'push.default' to 'upstream' or 'current' - when you ran linkgit:git-push[1] and pushed 'matching - refs' by default (i.e. you did not provide an explicit - refspec, and no 'push.default' configuration was set) - and it resulted in a non-fast-forward error. pushNonFFMatching:: Advice shown when you ran linkgit:git-push[1] and pushed 'matching refs' explicitly (i.e. you used ':', or @@ -1980,7 +1974,7 @@ When pushing to a remote that is different from the remote you normally pull from, work as `current`. This is the safest option and is suited for beginners. + -This mode will become the default in Git 2.0. +This mode has become the default in Git 2.0. * `matching` - push all branches having the same name on both ends. This makes the repository you are pushing to remember the set of @@ -1999,8 +1993,8 @@ suitable for pushing into a shared central repository, as other people may add new branches there, or update the tip of existing branches outside your control. + -This is currently the default, but Git 2.0 will change the default -to `simple`. +This used to be the default, but not since Git 2.0 (`simple` is the +new default). -- |