Quick Git
Published ....
Last modified ....
From Boston, MA
Share this snippet on BlueskySee discussion on Bluesky
This is a really simple git alias that I think I found originally on Twitter a while back - and since then it's been my go-to way to work on repos that I'm effectively the only contributor:
# the git zsh plugin aliases gp as git push
# but we want to override it
unalias gp
gp() {
git add .
git commit -m "$1"
git push
}
Usage: