Skip to content

Instantly share code, notes, and snippets.

@justincampbell
Created July 30, 2010 15:23
Show Gist options
  • Save justincampbell/500706 to your computer and use it in GitHub Desktop.
Save justincampbell/500706 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Git commits for dummies
echo Enter a commit message:
read MESSAGE
git rm -r --cached . > /dev/null
git add .
git commit -m "$MESSAGE"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment