News for hackers. Stuff that matters.
Re:Flight rules for Git by majewsky on Tuesday October 23, 2018 @04:52AM (#18281802)
> 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.

There are no comments on this comment yet.