問題
直接拷貝gogs-repositories
導致項目中的hooks
文件下的post-receive
pre-receive
update
三個腳本中的調用路徑與實際不符,導致
remote: hooks/pre-receive: line 2: <path>: No such file or directory
解決辦法
修改相關路徑
直接拷貝gogs-repositories
導致項目中的hooks
文件下的post-receive
pre-receive
update
三個腳本中的調用路徑與實際不符,導致
remote: hooks/pre-receive: line 2: <path>: No such file or directory
修改相關路徑
一、文件屬性 下文中,“文件”一詞默認代指廣義的數據類型,跟“目錄”等詞對比使用時,則專指普通文件(File)這一特定數據類型。 Linux系統中,我們可以使用命令“ls -al”來查看當前目錄