开发者

How to clone git repository from one machine to another in linux?

开发者 https://www.devze.com 2023-02-12 20:47 出处:网络
I 开发者_StackOverflowwant to clone git repository from another computer but it gives me a message of:

I 开发者_StackOverflowwant to clone git repository from another computer but it gives me a message of:

did you run git update-server-info on the server?

what should I do? Anyone can help me?

Thanks


As Jefromi suggested, use

git clone redmine@myserver:/home/redmine/git_repositories/testproj.git

(update your username and "myserver" to real ones)


It maybe that you are cloning over HTTP which is a dumb protocol and requires git update-server-info to be run. Try running git update-server-info on the server as the message suggests and re-clone.

0

精彩评论

暂无评论...
验证码 换一张
取 消