How git hooks can get parameters via command-line arguments and stdin?

前端 未结 0 489
攒了一身酷
攒了一身酷 2021-02-14 08:35

I want to get value using parameters and use them in pre-push in hooks. How to to get? And also how to set environmental variables for HUSKY_GIT_PARAMS and HUSKY_GIT_STDIN?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题