![]() In short, when rebasing, you can now use git rebase -update-refs and Git will update other branches that are affected by the changed commit hashes you are currently rebasing. But doing git log -p to see the diffs per commit causes 1 SSH request per commit, quite a bundle of SSH agent confirmations for even a small handful of commits!Ĭloning with Scalar also leaves some warnings for your enjoyment, which currently happen no matter which remote Git server I’m cloning from, but maybe these will go away later when servers gain support for some new features being used here:Ĭreated symlink → symlink → symlink → that it set up systemd timers to maintain your Git clones. For example, when you do plain git log to see commits, there’s no remote access needed. Because of that, I am aware of every SSH connection that uses my SSH secret key, and noticed that Scalar had Git make 3 network connections to the origin server rather than just 1.ĭuring later Git operations, having only the most recent commit stored locally leads to some interesting new network calls. I use SSH agent confirmation with ssh-add -c (on Linux see references below for tips on doing it on Windows and macOS). ![]() That’s only 0.6% the size! Your experience will vary based on how much of the repository data is in history vs. git directory for a complete clone takes 7.1 GB, but when using scalar clone the partial clone of that repository uses only 46 MB. ![]() One of our clients has a repository whose. It reminds me of Google’s “repo” tool used to manage a group of multiple large Git repositories for the Android project, but unlike that, Scalar focuses on a single repository.īy default it makes a partial clone so that you need far less network transfer and local disk space to work with a large repository. ![]() Git now includes a new command-line tool called scalar which is adapted to working with very large Git repositories. Let’s look at a couple of them, which you may find make upgrading worthwhile. Git 2.38 was released 2 days ago, and it has some interesting new features.
0 Comments
Leave a Reply. |