How to reduce friction when pushing code to Git
I was getting tired of doing git add ., git commit -m "Message", and git push. So I created a shell function in my .zshrc to do a single command that executes the three steps.
function gpush() {
local msg="${1:-Auto commit}"
git add .
git...
bernieops.com1 min read