Documentation update: use git branch -d foo where applicable
[gitweb.git] / Documentation / howto / using-topic-branches.txt
index d30fa850480446a6682430db2a327986e6f65e69..c6c635a51ee813a9c09b342e2c06a2644b0ac413 100644 (file)
@@ -166,7 +166,7 @@ output from:
 
 is empty.  At this point the branch can be deleted:
 
- $ rm .git/refs/heads/branchname
+ $ git branch -d branchname
 
 Some changes are so trivial that it is not necessary to create a separate
 branch and then merge into each of the test and release branches.  For