开发者

How to pull from a local repository on another computer?

I have create a repository on my laptop, how can I clone the repository in my laptop to my desktop? I have already created a shared folder where my开发者_StackOverflow repository is located. Thanks in advance.


"Shared folder" suggests that you're using Windows.

If your shared folder is available as a mapped network drive, say z:, then you can just clone as if it were a local repository:

git clone file://z:/path/to/repository.git

(I'm not sure about slashes vs. backslashes here; currently on Linux so I can't test it.)

Your question title asks about pulling, not cloning. But pulling should be trivial once you've got the clone.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜