=======================================
Show branches:
List or Show all the available branches (both local and remote)
Create branch:
Change to branch:
Create and change to new branch:
Rename branch:
or:
git branch --move branchname new_branchname
Show all completely merged branches with current branch:
Delete merged branch (only possible if not HEAD):
Delete not merged branch:
See where Git is located:
Get the version of Git:
Create an alias (shortcut) for git status
:
Initialize Git in the project root:
Get every file in the project ready to commit:
Get custom file ready to commit:
Commit changes:
Add and commit in one step:
Remove files from Git:
Update all changes:
Remove file but do not track anymore:
Move or rename files:
Undo modifications (restore files from latest commited version):
Restore file from a custom commit (in current branch):