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

贡献者指南