esp-docs icon indicating copy to clipboard operation
esp-docs copied to clipboard

Reduced time to clone

Open kamocat opened this issue 2 years ago • 1 comments

The git clone can be sped up substantially by skipping the commit history, using the "--depth 1" option. Anyone who actually wants the commit history can get it with "git pull" or by looking online.

kamocat avatar May 18 '22 21:05 kamocat

Thanks for you suggestion!

I agree that in many cases doing a shallow clone is better, but for our getting-started guide I still think we should recommend doing a full clone.

We had an internal discussion about this a while ago, and the conclusion was that we should keep it as simple and straight-forward as possible, with the least amount of surprises for users. If we changed it to a shallow clone we would also have to add an explanation and mention the consequences of this.

ESP-Marius avatar May 20 '22 03:05 ESP-Marius