Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't clone keep the entire history of the original repo, while this gives a single initial commit?



'git clone --depth=1' will only clone the latest HEAD so you won't get the history.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: