Quick reference#
Commits#
See changed files:
git status
Stage changed file:
git add file
Commit
git commit [-m "message"]
Type a commit message after -m option or later when prompted.
Branches#
Create a branch and setup push
git checkout -b <branch_name>
git push -u origin <branch_name>
Delete distant branch
git push -d <branch_name>