Skip to content

Commit 8c97146

Browse files
committed
Update README for tag.
1 parent dde7985 commit 8c97146

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var info = getRepoInfo();
1212
info.branch //=> will be the current branch
1313
info.sha //=> will be the current sha
1414
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)
1516
```
1617

1718
When called without any arguments, `git-repo-info` will automatically lookup upwards

0 commit comments

Comments
 (0)