Documentation update: use git branch -d foo where applicable
[git.git] / Documentation / howto / rebase-and-edit.txt
index 6cc1c79..646c55c 100644 (file)
@@ -63,7 +63,7 @@ And then, you can just remove the broken branch if you decide you really
 don't want it:
 
        # remove 'broken' branch
-       rm .git/refs/heads/broken
+       git branch -d broken
 
        # Prune old objects if you're really really sure
        git prune