Open andrzejsydor opened 6 years ago
git rev-parse --abbrev-ref HEAD
.gitconfig .zshrc
https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git
branch-current = rev-parse --abbrev-ref HEAD
alias gbc='git rev-parse --abbrev-ref HEAD'
git rev-parse --abbrev-ref HEAD
.gitconfig .zshrc
https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git