All i know about shallow clone
- For all readonly purpose this works great.
- For big repo like linux project, mozilla firefox or WordPress like project it's really boring to wait for git to fetch all refs since we rearely needs all refs (if you know you're not gonna need).
- You can contribute even after shallow clone but it works only in somecases mentioned below.
Fetch only one commit
git clone -b master git_url --depth 1