Week 20 - Session 1 - Class Project (Week 1) - Git Branching + Merging
blog image source |
Working with branches:
- git branch - to see what branches you have, and to check which one you’re currently on.
- git branch <branch_name> - to create a new branch off of the current branch.
- git branch -d <branch_name> - to delete a branch.
- git checkout <branch_name> - to change onto a branch.
Git Branch - https://www.atlassian.com/git/tutorials/using-branches
Git Branching - https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging
git - the simple guide - http://rogerdudler.github.io/git-guide/