We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde7985 commit 8c97146Copy full SHA for 8c97146
README.md
@@ -12,6 +12,7 @@ var info = getRepoInfo();
12
info.branch //=> will be the current branch
13
info.sha //=> will be the current sha
14
info.abbreviatedSha //=> will be the first 10 chars of the current sha
15
+info.tag //=> will be the tag for the current sha (or `null` if no tag exists)
16
```
17
18
When called without any arguments, `git-repo-info` will automatically lookup upwards
0 commit comments