Y
Hacker News
new
|
ask
|
show
|
jobs
by
weaksauce
3025 days ago
Is there a tool for git that only downloads the last say 1000 or 2000 commits or is a full history tree fundamental to git working correctly?
1 comments
yorwba
3025 days ago
It's the --depth option for git clone/fetch:
https://www.git-scm.com/docs/git-clone#git-clone---depthltde...
link