{"thread":{"id":"6013","subject":"[PATCH] Documentation for the [remote] config","startedAt":"2006-10-23T16:42:14Z","lastAt":"2006-10-23T17:58:10Z","messageCount":2,"participants":["Santi Béjar","Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"29728","messageId":"87pscjnfvd.fsf@gmail.com","threadId":"6013","inReplyTo":null,"subject":"[PATCH] Documentation for the [remote] config","fromName":"Santi Béjar","fromEmail":"sbejar@gmail.com","sentAt":"2006-10-23T16:42:14Z","receivedAt":"2006-10-23T16:42:14Z","isPatch":true,"sender":{"key":"santi@agolina.net","avatar":null},"body":"\n\nSigned-off-by: Santi Béjar <sbejar@gmail.com>\n---\n Documentation/config.txt |   12 ++++++++++++\n Documentation/urls.txt   |    8 ++++++++\n 2 files changed, 20 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 84e3891..ee51fe3 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -230,6 +230,18 @@ pull.octopus::\n pull.twohead::\n \tThe default merge strategy to use when pulling a single branch.\n \n+remote.<name>.url::\n+\tThe URL of a remote repository.  See gitlink:git-fetch[1] or\n+\tgitlink:git-push[1].\n+\n+remote.<name>.fetch::\n+\tThe default set of \"refspec\" for gitlink:git-fetch[1]. See\n+\tgitlink:git-fetch[1].\n+\n+remote.<name>.push::\n+\tThe default set of \"refspec\" for gitlink:git-push[1]. See\n+\tgitlink:git-push[1].\n+\n show.difftree::\n \tThe default gitlink:git-diff-tree[1] arguments to be used\n \tfor gitlink:git-show[1].\ndiff --git a/Documentation/urls.txt b/Documentation/urls.txt\nindex 26ecba5..670827c 100644\n--- a/Documentation/urls.txt\n+++ b/Documentation/urls.txt\n@@ -51,6 +51,14 @@ lines are used for `git-push` and `git-f\n respectively.  Multiple `Push:` and `Pull:` lines may\n be specified for additional branch mappings.\n \n+Or, equivalently, in the `$GIT_DIR/config` (note the use\n+of `fetch` instead of `Pull:`):\n+\n+[remote \"<remote>\"]\n+\turl = <url>\n+\tpush = <refspec>\n+\tfetch = <refspec>\n+\n The name of a file in `$GIT_DIR/branches` directory can be\n specified as an older notation short-hand; the named\n file should contain a single line, a URL in one of the\n-- \n1.4.3.1.gf8f0bb\n"},{"id":"29734","messageId":"ehivqp$dkb$1@sea.gmane.org","threadId":"6013","inReplyTo":"87pscjnfvd.fsf@gmail.com","subject":"Re: [PATCH] Documentation for the [remote] config","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-10-23T17:58:10Z","receivedAt":"2006-10-23T17:58:10Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Thanks a lot!\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"}]}