This is just a quick post for me to remind myself how to use git on terminal. Definitely smarter ways to do it, but this is the quick and dirty way without branches etc.

Tabbed code block

Update from Repo:

1
$git pull

Code code code

1
2
$git checkout
$git add xxxxxx or $git add .

Final Step:

1
2
$git commit -m 'message'
$git push origin master

Then repeat.

Also very good resource