For binary files, outputs two - instead of saying 0 0. --shortstat Output only the last line of the --stat format containing total number of modified files, as well as number of added and deleted lines. -X[] --dirstat[=] Output the distribution of relative amount of changes for...
But for binary files that are accidentally classified as text the conversion can corrupt data. If you recognize such corruption early you can easily fix it by setting the conversion type explicitly in .gitattributes. Right after committing you still have the original file in your work tree and ...
For binary files, outputs two - instead of saying 0 0. --shortstat Output only the last line of the --stat format containing total number of modified files, as well as number of added and deleted lines. -X[] --dirstat[=] Output the distribution of relative amount of changes for...
and serves them with multiple access methods, and some users need to use different access methods, this feature allows people to specify any of the equivalent URLs and have Git automatically rewrite the URL to the best alternative for the particular user, even for a never-before-seen repository...
This configuration variable is useful in cases where you’d like to centrally configure your Git hooks instead of configuring them on a per-repository basis, or as a more flexible and centralized alternative to having an init.templateDir where you’ve changed default hooks. core.editor Commands ...
Today, it features two backends—one of them uses a Git repository for storage, while the other is a native storage backend1.The Git backend is fully featured and maintained, and allows you to use Jujutsu as an alternative interface to Git. The commits you create will look like regular ...
@jochenhzfor ensuring files with Unicode names are not accidentally pruned @pastelskyfor optimizing performance of our pre-push hook @rustfixfor correcting some code comments @rusttechfor fixing an array size allocation bug @xdavidwufor improving the portability of our tests and hooks ...
--suffix=.<sfx> Instead of using .patch as the suffix for generated filenames, use specified suffix. A common alternative is --suffix=.txt. Leaving this empty will remove the .patch suffix. Note that the leading character does not have to be a dot; for example, you can use --suffix...
Several years ago,Shawn Pearcehad proposed the "reftable" format as an alternative new format to store refs in a repository. This new format was supposed to help with most or all of the above issues and is essentially a binary format specifically catered towards storing references in Git. ...
Alternative to git shallow-clone: clone only one branch Since git 1.7.10, you can also limit the amount of history you clone by cloning a single branch, like so: git clone[remote url]--branch[branch_name]--single-branch[folder]