Makes current directory a git repo (after you make a git repo on github.com first!)
git init
git add .
git commit -m "init"
git remote add origin URLHERE
git push -u origin master
git add .; git commit -m "update"; git remote add origin URLHERE; git push -u origin master
git checkout -b [name_of_your_new_branch]
git push origin [name_of_your_new_branch]
git branch -D branch-name
git push origin --delete branch-name
git checkout master
git checkout -b feature/foo
# make some commits
git rebase master
git checkout master
git merge --ff-only feature/foo
git branch -r
git add .; git commit -m "the message"; git push heroku master; git push origin master; heroku run python manage.py makemigrations; heroku run python manage.py migrate --run-syncdb
migrate offline then
heroku run python manage.py makemigrations; heroku run python manage.py migrate --run-syncdb
push to fork:
git add .; git commit -m "fork message"; git push forked master;