Cheatsheet Git
Table of Contents
Commands
Get repository first time from server
git clone <url>
Get changes from after already cloned
git pull
Add changes to specific file to commit
git add <name of file>
Add all changes to a commit
git add .
Check status of current local repository
git status
Commit changes locally
git commit -m "Some nice message"
Push commit to server
git push
"Common" Workflow
For first time (One Time)
git clone
Every time after already cloned
git pull
Do some changes
git add .
git commit -m "message"
git push