compare branch with main
CLI
git show $(git branch --show-current)
git diff main..$(git branch --show-current)
git branch --show-current is current branch
Lazygit
- Highlight main branch
- Shift w & hit enter
- highlight the branch you want to compare with
Webstorm
- GitToolBox? Should not be necessary I think
https://useful-snippets.netlify.app/posts/webstorm-compare-with-branch/

VS Code
- Gitlens?
Neovim
- Diffview