gert icon indicating copy to clipboard operation
gert copied to clipboard

Document how to detect a "detached head"

Open krlmlr opened this issue 3 years ago • 1 comments

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?

krlmlr avatar Apr 06 '21 02:04 krlmlr