mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-24 16:25:37 +08:00
Move push update to post-receive and protected branch check to pre-receive (#1030)
* move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
This commit is contained in: