Reputation: 31
Is it possible to understand who pushed tags to GitHub?
We use Jenkins but there is possibility to push without it, probably git or GitHub can let us know, i found this one but not sure it will help: help .
http://gitHub.com/enterprise/2.5/admin/articles/viewing-push-logs/
thanks in advance
Upvotes: 3
Views: 1413
Reputation: 141946
When you set up tags use the annotated tag
.
Annotated tag is like any other tag but instead ih having just a name it also include full metadata similar to the the commit metadata
The main difference between regular tag to annotate tag is that annotated tag generate full blob (as explained above - same as the commit information)
From the git doc.
-a / --annotate
Make an unsigned, annotated tag object
If you did use annotated tag the only way to know who creates (now in the present time and not in the past) is to capture the push tag and then grab the committer (the user who push) from it.
Upvotes: 0
Reputation: 490133
You can use git show <tagname>
to see info like any other commit, but it will only work with an annotated tag (if you used the -a
option).
Most people recommend to always use annotated tags.
Upvotes: 2