Git 2.38 has been officially released. The most notable change in this release is the introduction of Scalar, a repository management tool created by Microsoft for handling giant Git repositories.
- Introducing Scalar, a giant Git repository management tool
Scalar is a .NET Core application written in C# (later rewritten in C),Only supports running on Windows and macOS platforms. Scalar maximizes the performance of Git commands by setting recommended configuration values and running background maintenance. Scalar can effectively speed up Git instructions no matter what service the developer uses to host the code repository. Microsoft mentioned that as long as you use Scalar to register the largest code repository, you can immediately feel the huge increase in Git execution speed.
Git has been actively optimizing its handling of giant repositories, and the newly introduced Scalar provides a carefully designed and configured set of features pre-configured for optimal handling of giant Git repositories. Scalar enables built-in filesystem monitors by default, multi-package indexing, commit graphs, maintenance scheduled in the background, partial clones, and sparse checkouts.
Scalar is a project led by Microsoft. It was open sourced at the beginning and expressed its intention to contribute to Git to better handle huge Git repositories. Now it has finally become part of the Git 2.38 mainline.
- Use –update-refs Rebase Dependency branch
Git 2.38 comes with a newgit rebase
Call options:--update-refs
which is able to perform an update for the dependent branch.
The following figure is an example of using the new function to complete the same operation as the above figure.
See the release announcement for details.
#Git #released #introducing #giant #warehouse #management #tool #Scalar