A way to keep a shallow git clone just minimally up to date?
问题 My aim is to be able to both build recent versions of, and contribute to, a project that has a long and voluminous history - and to do this without using local storage to duplicate lots of historic branches and history going back a decade and more (which I can always look up in the web UI of the project's central repository anyway, if I ever need to, which I probably won't). I seemed to get lucky with my first try: git clone --depth 40 -b master http://github.com/who/what.git/ what That gave