-
Create a new branch to isolate changes from the master branch
git branch + "name-branch"
-
Go to last branch:
git checkout + "name-branch"
-
See what branch we’re currently in.
git branch
-
Merge the experimental branch into master
git merge + "name-branch"
-
Show all branches of the project
git log --oneline --graph --all
-
Delete a Branch
git checkout -d + "name-branch"
✨ Ready.