Today I Learned

hashrocket A Hashrocket project

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.

See More #git TILs