1 min readOct 15, 2020
Yeah I have a bunch of aliases/shell functions for git myself. Definitely very useful.
My favorite is ‘push new’, which I use to dynamically push a new branch to the remote origin.
Here’s the gist of it:
branch=”$(git rev-parse — symbolic-full-name — abbrev-ref HEAD)”
git push — set-upstream origin $branch