Skip to content

Instantly share code, notes, and snippets.

@blakewrege
Created February 6, 2015 20:15
Show Gist options
  • Save blakewrege/4132ed21a7e6b2a6e4fb to your computer and use it in GitHub Desktop.
Save blakewrege/4132ed21a7e6b2a6e4fb to your computer and use it in GitHub Desktop.
3 git commands in one
##Copy and paste into your .bashrc
##usage: lazygit "your message here"
function lazygit() {
git add .
git commit -a -m "$1"
git push
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment