git - echo into grafts does not work -
i have big repository more 300,000 commits. wanna work recent commits. so, used following command:
echo "" > .git/info/grafts
but not work, since after ran git log, again returned commits. new-root-sha1 passed on master branch.
if you're planning on leaving main repository alone , limiting local clone few commits, use following command last 12 commits:
git clone [location] --depth 12
Comments
Post a Comment