Answers for "how to get current git branch"

11

how to get current git branch

git branch --show-current
Posted by: Guest on January-17-2021
3

get current branch name git

git rev-parse --abbrev-ref HEAD
Posted by: Guest on March-31-2020

Code answers related to "how to get current git branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language