Skip to content

Instantly share code, notes, and snippets.

@thebergamo
Forked from alanhoff/gitme.sh
Last active August 29, 2015 14:11
Show Gist options
  • Save thebergamo/311ffa0d48774638fd54 to your computer and use it in GitHub Desktop.
Save thebergamo/311ffa0d48774638fd54 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "-- PULL before Commit! --"
git pull
echo "-- Commiting --"
git add . --all
git commit -am "$3"
echo "-- Sending PUSH! "
git push -u $1 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment