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

12 lines
299 B
Markdown

# 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.
```bash
$ git clone my-repo/.git path/to/fresh-copy
```
See `man git-clone` for more details.