This README file contains notes on Git.
Sources:
--
Tells me what branch I am on:
git branch
--
Make new branch:
git branch BRANCH_NAME
--
Switch to the branch:
git checkout BRANCH_NAME
--
Make new branch and switch to it:
git checkout -b BRANCH_NAME
--
Delete existing branch:
git branch -d BRANCH_NAME
--
Commit code in existing branch:
git commit -m "COMMIT_NAME"