git clone without objects to do git log
问题 How can I clone a git repository without getting the actual files and all their revision deltas? I only want to be able to do git log | grep , no need to access files' contents. I would like to skip this part of the cloning: Receiving objects: 12% (359112/2981072), 432.66 MiB | 1.67 MiB/s There are some repositories whose logs I want to grep, but without downloading/checking out the whole repository, because they weigh gigabytes. Even a solution where I only get a single branch's logs (e.g.