简体   繁体   中英

Azure DevOps upload git hook to existing repository

Is it possible to upload a git hook ( .git\\hooks ) to a existing repository? Is there any way to access the .git directory inside a Azure DevOps repo?

Something like:

https://server/collection/_git/project?path=%.git

No, the hooks inside the .git folder is in the client side, not in the server side. for each client the hooks can be different.

There is a Feature Request to Git pre-receive hooks in the server level.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM