Quick Git
This is a really simple 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:
Usage:
Explanation:
This little alias/function:
- Adds all changes to be staged
- Commits with the provided message
- Pushes it to the remote tracking branch
This little pattern has been so useful that it's prevented me from experimenting with because this is just too easy. I rarely need to use git branches for most of the things I do as side projects so this has been my go to!
Tags:
Loading...