{"thread":{"id":"43757","subject":"[PATCH] Documentation: update git-clone man page with new behavior","startedAt":"2006-12-08T06:27:21Z","lastAt":"2006-12-08T06:27:21Z","messageCount":1,"participants":["J. Bruce Fields"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"298040","messageId":"20061208062721.GF5939@fieldses.org","threadId":"43757","inReplyTo":null,"subject":"[PATCH] Documentation: update git-clone man page with new behavior","fromName":"J. Bruce Fields","fromEmail":"bfields@fieldses.org","sentAt":"2006-12-08T06:27:21Z","receivedAt":"2006-12-08T06:27:21Z","isPatch":true,"sender":{"key":"bfields@citi.umich.edu","avatar":null},"body":"Update git-clone man page to reflect recent changes\n(--use-separate-remote default and use of .git/config instead of\nremotes files), and rewrite introduction.\n\nSigned-off-by: J. Bruce Fields <bfields@citi.umich.edu>\n---\n Documentation/git-clone.txt |   25 ++++++++++++-------------\n 1 files changed, 12 insertions(+), 13 deletions(-)\n\ndiff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt\nindex d5efa00..985043f 100644\n--- a/Documentation/git-clone.txt\n+++ b/Documentation/git-clone.txt\n@@ -16,22 +16,21 @@ SYNOPSIS\n \n DESCRIPTION\n -----------\n-Clones a repository into a newly created directory.  All remote\n-branch heads are copied under `$GIT_DIR/refs/heads/`, except\n-that the remote `master` is also copied to `origin` branch.\n \n-In addition, `$GIT_DIR/remotes/origin` file is set up to have\n-this line:\n+Clones a repository into a newly created directory, creates\n+remote-tracking branches for each branch in the cloned repository\n+(visible using `git branch -r`), and creates and checks out a master\n+branch equal to the cloned repository's master branch.\n \n-\tPull: master:origin\n-\n-This is to help the typical workflow of working off of the\n-remote `master` branch.  Every time `git pull` without argument\n-is run, the progress on the remote `master` branch is tracked by\n-copying it into the local `origin` branch, and merged into the\n-branch you are currently working on.  Remote branches other than\n-`master` are also added there to be tracked.\n+After the clone, a plain `git fetch` without arguments will update\n+all the remote-tracking branches, and a `git pull` without\n+arguments will in addition merge the remote master branch into the\n+current branch.\n \n+This default configuration is achieved by creating references to\n+the remote branch heads under `$GIT_DIR/refs/remotes/origin` and\n+by initializing `remote.origin.url` and `remote.origin.fetch`\n+configuration variables.\n \n OPTIONS\n -------\n-- \n1.4.4.2.ga3cbd\n"}]}