diff --git a/The basics of Git.md b/The basics of Git.md index 5f07dea..6eb036c 100644 --- a/The basics of Git.md +++ b/The basics of Git.md @@ -55,6 +55,7 @@ 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 +- Create a new local branch, with `[new-branch-name]`, from the current branch's latest comit ### Switch to an existing branch -`git check` \ No newline at end of file +`git checkout [branch-name]` +- Update the repo to \ No newline at end of file