1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-08 01:28:02 +00:00

Add Clone A Repo Locally From .git as a git til

This commit is contained in:
jbranchaud
2017-09-14 16:02:36 -05:00
parent 2559e44291
commit cdc89c20e0
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
# 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.