Git branch in terminal
Another quick one, today.
I use ohmyzsh
and I couldn’t stand how, since my new machine, when I did git branch
it would open in a separate window/view, instead of listing the branches on the terminal.
Until now I was just annoyed by it, today I decided to find the solution via this stackoverflow.
Or add this to your ~/.gitconfig
:
[pager]
branch = false