From e211aae6ab7c1b0b8d68666b41e66fc282758e7b Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Sun, 17 May 2009 13:28:29 -0500 Subject: [PATCH] fix a typo --- 6-alternatetimelines | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6-alternatetimelines b/6-alternatetimelines index 35a1e1b..abb2292 100644 --- a/6-alternatetimelines +++ b/6-alternatetimelines @@ -37,7 +37,7 @@ Branches are cheap and easy to create, so you shouldn't worry about overusing th To delete a branch, checkout something else and type: \begin{verbatim} -$ git checkout -d nameofbranch +$ git branch -d nameofbranch \end{verbatim} This is another of those commands that Git may fail to complete, rather than see you lose data. @@ -47,7 +47,7 @@ If the branch is not within the history of HEAD, that means there may be commits If that's ok with you, here's the dangerous version: \begin{verbatim} -$ git checkout -D nameofbranch +$ git branch -D nameofbranch \end{verbatim} If you do delete a branch and lose commits that you, uh, actually wanted, don't worry. -- 2.11.4.GIT