You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you have an estimate on how much of a performance boost this would enable?
If i understand correctly, the solution involves adding a config file to the monorepo and then a config file to the host and references the config file in the monorepo? I wish there was a way around that second file
Is your feature request related to a problem? Please describe.
Monorepo speedups are nice, this is an easy change that will be easily adoptable.
Describe the solution you'd like
Enforce monorepo git configuration
Suggested settings
These settings along with defining a
~/.gitconfig.monorepo
configuration file to support commitgraph and native fsmonitor~/.gitconfig.monorepo
which can be imported through your
.gitconfig
by[include] path = ~/.gitconfig.monorepo
Update Index version 4
fsmonitor daemon
git config core.fsmonitor true
core.commitgraph
Git will use a commit history cache to significantly speed up history operations, such as
git log
with the--graph
option.fetch.writeCommitGraph
Improves performance of commands like
git push -f
andgit log --graph
by writing a commit-graph on everygit fetch
.References
Faster pack generation with multi-pack reuse
https://github.blog/2024-02-23-highlights-from-git-2-44/
Measuring Git Performance with OpenTel
https://github.blog/2023-10-16-measuring-git-performance-with-opentelemetry/
The text was updated successfully, but these errors were encountered: