gajus / gajus/gitinfo

When checkout in a commit, getting branch or hash throws an exception

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
46
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi Gajus,

Thanks for the work on this repo, it is becoming quite useful.

I have detected that when we are checked out at a commit hash, the following methods throw an exception:
```
gitinfo.getBranchName();
gitinfo.getHeadSha();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.