Bash Scripts I Use With Github

I’ve recently decided that I should put some of my projects on GitHub.

I use two bash scripts to ease my communication with my repo.


cd [path to local repo]git add .
git status
git commit
git push origin HEAD:master
git diff HEAD~1 HEAD > ~/Desktop/diff.txt

. filename

git rm $file
git commit -m "remove $file"
Written on July 29, 2013