Git - Cheat Sheet

Git configuration

1git config --global user.name "Your Name"  
2git config --global user.email "you@example.com"
3git config --global color.ui auto 

STAGE

1git status
2git add [file]
3git reset [file]
4git diff
5git diff --staged
6git commit -m “[descriptive message]”