Answers for "get current branch name git"

1

get current branch name git

git branch --show-current
Posted by: Guest on April-15-2021
1

how to check in which brach we are in git

git branch -a # it will show an astrick * like *master
git branch --show-current # source == git remote --help
Posted by: Guest on March-24-2020
3

get current branch name git

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

Code answers related to "get current branch name git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language