[1] https://jvns.ca/blog/2024/02/16/popular-git-config-options/
gwip (git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]") is kinda useful when I want an actual commit before I change branches to do something else (I use this more often than stashing.
I also am a fan of git-brv from git extras (list branches verbose sorted by date - with the option to sort reverse so the last modified branch is the last one on your terminal)
And also git-trim - clean up merged branches
[1]: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
please = push —-force-with-lease
for rebase-heavy workflowsI also have a few handy aliases for commands I never remember [1]. Don't need to have shortcuts like `git co` and others, because I use CMD + R with fzf to find what I need.
[0]: https://github.com/artuross/dotfiles/blob/main/home/dot_conf...
[1]: https://github.com/artuross/dotfiles/blob/main/home/dot_conf...
git = !cd -- ${GIT_PREFIX:-.} && git