簡體   English   中英

Git和SourceTree-在服務器上安裝問題

[英]Git and SourceTree - installing on server issue

我想在本地開發,然后使用git提交到服務器。

因此,我已經在PC上安裝了git,現在我正嘗試使用SourceTree應用程序訪問服務器上的項目。

我去了存儲庫設置並添加了URL,但是當我嘗試獲取時,我得到了:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch proyectName
fatal: http://servername.com/ftp/proyectName/proyectName/info/refs not found: did you run git update-server-info on the server?
Completed with errors, see above

當然,我缺少明顯的東西!

在錯誤中指出您需要在服務器上執行:

git update-server-info

有關更多信息,請參見此問題: git update-server-info做什么?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM