gajus/gitinfo

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

Open

#20 建立於 2019年8月30日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (5 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (47 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南