mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
12 lines
299 B
Markdown
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.
|