遷移gogs直接拷貝其gogs-repositories導致hook腳本中的相關路徑與實際不相符

問題

直接拷貝gogs-repositories導致項目中的hooks文件下的post-receive pre-receive update三個腳本中的調用路徑與實際不符,導致

remote: hooks/pre-receive: line 2: <path>: No such file or directory

解決辦法

修改相關路徑

發佈了27 篇原創文章 · 獲贊 7 · 訪問量 9萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章