diff --git a/The basics of Git.md b/The basics of Git.md index 6eb036c..d51b360 100644 --- a/The basics of Git.md +++ b/The basics of Git.md @@ -58,4 +58,6 @@ Then open the project in any merge conflict resolver, and manually resolve the c - Create a new local branch, with `[new-branch-name]`, from the current branch's latest comit ### Switch to an existing branch `git checkout [branch-name]` -- Update the repo to \ No newline at end of file +- Update the directory to contain the code stored in `[branch-name]` +### Delete a branch +`git branch -d [branch-` \ No newline at end of file