Skip to content

Instantly share code, notes, and snippets.

@orta
Created May 11, 2010 16:31
Show Gist options
  • Save orta/397514 to your computer and use it in GitHub Desktop.
Save orta/397514 to your computer and use it in GitHub Desktop.
function gitac {
if [ "$2" ]
then
git add src/
git commit -m "$1 [#$2 state:resolved]"
else
git add src/
git commit -m "$1"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment