Skip to content

Instantly share code, notes, and snippets.

@guillermoroblesjr
Created May 12, 2015 01:12
Show Gist options
  • Save guillermoroblesjr/31fcd11738a868858c7c to your computer and use it in GitHub Desktop.
Save guillermoroblesjr/31fcd11738a868858c7c to your computer and use it in GitHub Desktop.
Automate your git commits
#!/bin/bash
git fetch
git add --all .
git status
git commit -m "$2"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment