Let's figure I have Git, GruntJS, and two repositories :
My "dist" repository is ignored by Git (it's just created or modified by GruntJS).
What's the best way to launch a "grunt" command after a "git push", even if this push is on another remote ?
Thanks!
您可能可以使用git hooks来做到这一点: https : //git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.