Skip to content

Instantly share code, notes, and snippets.

@jaymzcd
Created June 30, 2010 10:12
Show Gist options
  • Save jaymzcd/458480 to your computer and use it in GitHub Desktop.
Save jaymzcd/458480 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Im sure there is a fancy git way to do this. for now this is what i'm doing to commit
# in two places at the same time... i should really pick up the git book.
cp -r /var/www/vanscom/blogger/ /home/jaymz/Desktop/
cd /home/jaymz/Desktop/blogger/
git add .
git commit -a -m "$1"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment