Moshe Moshe - 5 days ago 5
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?

Answer

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
Comments