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

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -