From: jidanni@jidanni.org
To: git@vger.kernel.org
Subject: [PATCH] git-checkout(1) mention fate of extraneous files
Date: Sat, 17 Jan 2009 08:36:17 +0800 [thread overview]
Message-ID: <87k58u4vlq.fsf@jidanni.org> (raw)
Signed-off-by: jidanni <jidanni@jidanni.org>
---
Documentation/git-checkout.txt | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index 9cd5151..bce31c7 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -14,12 +14,13 @@ SYNOPSIS
DESCRIPTION
-----------
-When <paths> are not given, this command switches branches by
-updating the index and working tree to reflect the specified
-branch, <branch>, and updating HEAD to be <branch> or, if
-specified, <new_branch>. Using -b will cause <new_branch> to
-be created; in this case you can use the --track or --no-track
-options, which will be passed to `git branch`.
+When <paths> are not given, this command switches branches by updating
+the index and working tree to reflect the specified branch, <branch>,
+and updating HEAD to be <branch> or, if specified, <new_branch>. (No
+extraneous files present are deleted, use linkgit:git-clean[1] for a
+pristine checkout.) Using -b will cause <new_branch> to be created; in
+this case you can use the --track or --no-track options, which will be
+passed to `git branch`.
As a convenience, --track will default to create a branch whose
name is constructed from the specified branch name by stripping
--
1.6.0.6
next reply other threads:[~2009-01-17 0:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-17 0:36 jidanni [this message]
2009-01-17 12:57 ` [PATCH] git-checkout(1) mention fate of extraneous files Markus Heidelberg
2009-01-17 18:35 ` jidanni
2009-01-19 22:45 ` [PATCH,v2] git-checkout(1): " jidanni
2009-01-19 23:16 ` Boyd Stephen Smith Jr.
2009-01-19 23:31 ` [PATCH,v3] " jidanni
2009-01-19 23:42 ` [PATCH,v2] " Johannes Schindelin
2009-01-20 0:01 ` [PATCH,v4] " jidanni
2009-01-20 0:11 ` Johannes Schindelin
2009-01-20 0:54 ` Boyd Stephen Smith Jr.
2009-01-20 3:35 ` Junio C Hamano
2009-01-20 10:07 ` Johannes Schindelin
2009-01-20 19:45 ` jidanni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k58u4vlq.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.