Hacker News new | past | comments | ask | show | jobs | submit login

With git you can specify the clone depth and only get the latest X versions. And there are ways to trim history with external plugins ( git filter repo).



You have to remake every commit of the repository which basically means you have a new repository, and new commits. In order to do the latter thing you said, you cannot have done the former thing you said.




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: