> git diff
> git add `!! --name-only`
> git commit - m "updated doc"
> git push origin HEAD
is probably 50% of my work machine bash history. Also fun trick for anyone who doesn’t know:
git checkout -
checks out the last branch and it’s great. “Damn, I need to pull main into this branch” becomes
git checkout -
git pull
git checkout -
git merge main
I leave a bowl out, and this year I had a trash can out in case anyone needed it. At the end of the night, the only thing in it was an empty hard cider bottle. Had a laugh