3 ms·
> it's just quicker -- like days quicker -- for me just to throw everything to the wind and clone the repo again In this case, I have a single suggestion for y
by majewsky 8y ago
> it's just quicker -- like days quicker -- for me just to throw everything to the wind and clone the repo again
In this case, I have a single suggestion for you: Give the following extra arguments to git clone.
--reference /path/to/existing/clone/ --dissociate
This will download objects from your existing clone rather than from the remote repository, thus saving you a great deal of bandwidth if your repo is appreciably large. Also, this operation is absolutely safe. It will only copy objects over into the new clone that are referenced in the remote repository.