diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-23 23:48:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-24 00:37:25 -0700 |
commit | 93e535a5b78c9861eca3e9371d1c3e5173c0ab02 (patch) | |
tree | 1466d6651b4ae358cc0fc4e141fd7dc368dcf472 /Documentation/merge-config.txt | |
parent | c395c25b8642893dd1bb4be1fd124dd12f9b848c (diff) | |
download | git-93e535a5b78c9861eca3e9371d1c3e5173c0ab02.tar.gz |
merge: merge with the default upstream branch without argument
"git merge" without specifying any commit is a no-op by default.
A new option merge.defaultupstream can be set to true to cause such an
invocation of the command to merge the upstream branches configured for
the current branch by using their last observed values stored in their
remote tracking branches.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/merge-config.txt')
-rw-r--r-- | Documentation/merge-config.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt index 1e5c22c5e5..83dba63082 100644 --- a/Documentation/merge-config.txt +++ b/Documentation/merge-config.txt @@ -6,6 +6,16 @@ merge.conflictstyle:: a `>>>>>>>` marker. An alternate style, "diff3", adds a `|||||||` marker and the original text before the `=======` marker. +merge.defaultToUpstream:: + If merge is called without any commit argument, merge the upstream + branches configured for the current branch by using their last + observed values stored in their remote tracking branches. + The values of the `branch.<current branch>.merge` that name the + branches at the remote named by `branch.<current branch>.remote` + are consulted, and then they are mapped via `remote.<remote>.fetch` + to their corresponding remote tracking branches, and the tips of + these tracking branches are merged. + merge.log:: In addition to branch names, populate the log message with at most the specified number of one-line descriptions from the |