4 ms·
Nowadays there's the `--show-current` option: git branch --show-current See https://git-scm.com/docs/git-branch https://git-scm.com/docs/git-branch
by ryenus 5y ago
Nowadays there's the `--show-current` option:
git branch --show-current
See https://git-scm.com/docs/git-branch https://git-scm.com/docs/git-branch