{"thread":{"id":"39863","subject":"[PATCH] Documentation/git-worktree: fix stale \"git checkout --to\" references","startedAt":"2015-07-16T22:02:45Z","lastAt":"2015-07-16T22:02:45Z","messageCount":1,"participants":["Eric Sunshine"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"266211","messageId":"1437084165-6174-1-git-send-email-sunshine@sunshineco.com","threadId":"39863","inReplyTo":null,"subject":"[PATCH] Documentation/git-worktree: fix stale \"git checkout --to\" references","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2015-07-16T22:02:45Z","receivedAt":"2015-07-16T22:02:45Z","isPatch":true,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"These should have been changed to \"git worktree add\" by b979d95\n(checkout: retire --to option, 2015-07-06).\n\nSigned-off-by: Eric Sunshine <sunshine@sunshineco.com>\n---\n\nAtop what is already in 'master'...\n\n Documentation/git-worktree.txt | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt\nindex da71f50..44619f2 100644\n--- a/Documentation/git-worktree.txt\n+++ b/Documentation/git-worktree.txt\n@@ -18,7 +18,7 @@ DESCRIPTION\n Manage multiple worktrees attached to the same repository.\n \n A git repository can support multiple working trees, allowing you to check\n-out more than one branch at a time.  With `git checkout --to` a new working\n+out more than one branch at a time.  With `git worktree add` a new working\n tree is associated with the repository.  This new working tree is called a\n \"linked working tree\" as opposed to the \"main working tree\" prepared by \"git\n init\" or \"git clone\".  A repository has one main working tree (if it's not a\n@@ -99,7 +99,7 @@ Each linked working tree has a private sub-directory in the repository's\n $GIT_DIR/worktrees directory.  The private sub-directory's name is usually\n the base name of the linked working tree's path, possibly appended with a\n number to make it unique.  For example, when `$GIT_DIR=/path/main/.git` the\n-command `git checkout --to /path/other/test-next next` creates the linked\n+command `git worktree add /path/other/test-next next` creates the linked\n working tree in `/path/other/test-next` and also creates a\n `$GIT_DIR/worktrees/test-next` directory (or `$GIT_DIR/worktrees/test-next1`\n if `test-next` is already taken).\n-- \n2.5.0.rc2.378.g0af52e8\n"}]}