Skip to content

Instantly share code, notes, and snippets.

@arion
Created April 10, 2012 07:41
Show Gist options
  • Save arion/2349097 to your computer and use it in GitHub Desktop.
Save arion/2349097 to your computer and use it in GitHub Desktop.
zsh full git commit command
full_git_commit()
{
git add . && git commit -a -m "$1" && git push
}
alias fgc=full_git_commit
# use `fgc 'my commit message'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment