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

> given how cloning a remote repo only gives you a partial copy of the remote history

You may be thinking of the optional -depth switch, which allows you to create shallow clones that don't have the full history. If you don't include that, you'll get the full history when cloning.



You only get it actually full with "--mirror" switch, but for most use-cases what you get without it is already "full enough".




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

Search: