gitblit - how to get latest commit ref on giblit post commit hook -
i trying branch name of last commit pushed git triggered post-commit groovy script, has idea how can this??
there many examples of how info. try one: https://github.com/gitblit/gitblit/blob/master/src/main/distrib/data/groovy/blockpush.groovy
the important thing remember git can push multiple refs (branches & tags) simultaneously it's easy receive more one.
Comments
Post a Comment