diff --git a/The basics of Git.md b/The basics of Git.md index d51b360..12d145a 100644 --- a/The basics of Git.md +++ b/The basics of Git.md @@ -55,9 +55,14 @@ Then open the project in any merge conflict resolver, and manually resolve the c ## Working with branches ### Create a new branch `git checkout -b [new-branch-name]` -- Create a new local branch, with `[new-branch-name]`, from the current branch's latest comit +- Create a new local branch, with `[new-branch-name]`, from the current branch's latest commit + ### Switch to an existing branch `git checkout [branch-name]` - Update the directory to contain the code stored in `[branch-name]` + ### Delete a branch -`git branch -d [branch-` \ No newline at end of file +`git branch -d [branch-name]` +- Delete the specified branch and all stored info + +### Pull a remote branch