Moshe Moshe - 2 months ago 25
Git Question

How do I transfer a git repo to my other computer?

I've got a git repo set up on my iMac and I'd like to download it to my MacBook so I can work on it there. How do I do that?


You can git clone it like any git repository. If you have git-daemon setup, it's:

git clone git://your-imac/repoName

If not, you can use ssh:

git clone username@your-imac:/path/to/your/repo