summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f2ad051)
raw | patch | inline | side by side (parent: f2ad051)
author | Santi Béjar <santi@agolina.net> | |
Mon, 30 Mar 2009 10:11:40 +0000 (12:11 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 30 Mar 2009 16:19:37 +0000 (09:19 -0700) |
The documentation for branch.*.merge is very dense, so add a simple
explanation on top of it.
And branch.*.remote also affects 'git push'.
Signed-off-by: Santi Béjar <santi@agolina.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
explanation on top of it.
And branch.*.remote also affects 'git push'.
Signed-off-by: Santi Béjar <santi@agolina.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | patch | blob | history |
index 750675530cf4a15137e837c9d15acb8f23ae7cd3..a6fc8da0bf2c61fcc528c7aafcc134aca1614570 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
This option defaults to never.
branch.<name>.remote::
- When in branch <name>, it tells 'git-fetch' which remote to fetch.
- If this option is not given, 'git-fetch' defaults to remote "origin".
+ When in branch <name>, it tells 'git-fetch' and 'git-push' which
+ remote to fetch from/push to. It defaults to `origin` if no remote is
+ configured. `origin` is also used if you are not on any branch.
branch.<name>.merge::
+ Defines, together with branch.<name>.remote, the upstream branch
+ for the given branch. It tells 'git-fetch'/'git-pull' which
+ branch to merge from.
When in branch <name>, it tells 'git-fetch' the default
refspec to be marked for merging in FETCH_HEAD. The value is
handled like the remote part of a refspec, and must match a