gert
gert copied to clipboard
Document how to detect a "detached head"
The code suggests checking git_info()$shorthand
: https://github.com/r-lib/gert/blob/cdd6d399027b84bfd597d7cd5e4e188903570809/R/fetch.R#L198-L200 . Does git_branch()
also work?