Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Ruemmler <kai.ruemmler@gmx.net>2005-11-07 11:23:59 +0300
committerJunio C Hamano <junkio@cox.net>2005-11-08 00:28:31 +0300
commite66ab03fcfb508efbe2b73bafc7cf0ef16430378 (patch)
tree3ee0f7a3b1b89dd5d2c59d213b1463e1e414ecc4 /Documentation/howto/revert-branch-rebase.txt
parent31b9755a655aa34373d8b39030e9a0f46ffa0078 (diff)
Documentation update: use git branch -d foo where applicable
This updates documentation to use git branch -d foo in favour of rm .git/refs/heads/foo Signed-off-by: Kai Ruemmler <kai.ruemmler@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/howto/revert-branch-rebase.txt')
-rw-r--r--Documentation/howto/revert-branch-rebase.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/howto/revert-branch-rebase.txt b/Documentation/howto/revert-branch-rebase.txt
index e4cce5bf7f..5a7e0cfe05 100644
--- a/Documentation/howto/revert-branch-rebase.txt
+++ b/Documentation/howto/revert-branch-rebase.txt
@@ -153,7 +153,8 @@ Everything is in the good order. I do not need the temporary branch
nor tag anymore, so remove them:
------------------------------------------------
-$ rm -f .git/refs/tags/pu-anchor .git/refs/heads/revert-c99
+$ rm -f .git/refs/tags/pu-anchor
+$ git branch -d revert-c99
------------------------------------------------
It was an emergency fix, so we might as well merge it into the