gajus/gitinfo

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

Open

#20 opened on 2019年8月30日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (47 stars)
PR merge metrics
 (PR metrics pending)

説明

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();

コントリビューターガイド