1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00
Files
til/git/clone-a-repo-locally-from-git.md
2017-09-14 16:02:36 -05:00

299 B

Clone A Repo Locally From .git

If you want to get a clean copy of a repository that you have locally, there is no need to go over the wire cloning it from the remote. You can clone from a local copy.

$ git clone my-repo/.git path/to/fresh-copy

See man git-clone for more details.