To enable the commit-graph feature in your repository, run git config core.commitGraph true. Then, you can update your commit-graph file by running
‘git show-ref -s | git commit-graph write —stdin-commits'
how do you automatically update this?
‘git show-ref -s | git commit-graph write —stdin-commits'
how do you automatically update this?
You don't need to run this with every commit, but maybe once after a big fetch or right after a new clone.
That's completely unnecessary and way too frequent. Some where else (reddit I think?) the authors noted that they'd like to have it run alongside GCs in the next version. So running it as pre-auto-gc is a better idea.