[英]Using GIT to clone from a windows machine to a linux webserver (in house)
[英]How to clone git repository from one machine to another in linux?
我想從另一台計算機克隆git存儲庫,但這給了我以下消息:
您在服務器上運行了git update-server-info嗎?
我該怎么辦? 有人可以幫助我嗎?
謝謝
如Jefromi所建議,請使用
git clone redmine@myserver:/home/redmine/git_repositories/testproj.git
(將您的用戶名和“ myserver”更新為真實的用戶名)
可能您正在通過HTTP克隆,這是一個愚蠢的協議,需要運行git update-server-info
。 嘗試按照消息提示在服務器上運行git update-server-info
並重新克隆。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.