竹磬网-邵珠庆の日记 生命只有一次,你可以用它来做些更多伟大的事情–Make the world a little better and easier


811月/118

Git初始化错误小记

发布在 邵珠庆

在第一次 git clone ssh://project_ip/git/project.git 時候,一直發生 fatal: no matching remote head 錯誤訊息,

根據 G 大師開示,解決方法是:

在第一次專案建立時,Client 端的指令:

mkdir test 
cd test
git init 
touch .git/git-daemon-export-ok
git remote add origin ssh://project_ip/git/pr

[......]阅读全文