What Is The Current Branch?
This question can be answered with one of git's plumbing commands, rev-parse
.
The --abbrev-ref
flag tells git-rev-parse
to give us the short name for HEAD
instead of the SHA.
Last updated
This question can be answered with one of git's plumbing commands, rev-parse
.
The --abbrev-ref
flag tells git-rev-parse
to give us the short name for HEAD
instead of the SHA.
Last updated