How Core Git Developers Configure Git # clearly makes git better [column] ui = auto [branch] sort = -committerdate [tag] sort = version:refname [init] defaultBranch = main [diff] algorithm = histogram …
Git
All posts
How I configure my Git identities includeIf [includeIf "gitdir:~/code/**"] path = ~/.config/git/personal [includeIf "gitdir:~/work/**"] path = ~/.config/git/work hasconfig:remote.*.url: [includeIf …
https://www.jvt.me/posts/2021/10/23/undo-force-push/ https://www.jvt.me/posts/2018/09/18/safely-force-git-push/ git push --force-with-lease
Tracking SQLite Database Changes in Git Git hook for diff sqlite table First, add a diff type called “sqlite3” to your config. The simplest way is to just run these commands: git config diff.sqlite3.binary …
Sign git commits with GPG
Little Git Tricks: Use .mailmap to Merge Different Authors .mailmap file ==> Name you want to keep <email> Name you no longer want <email> John Doe John Doe John Doe John Doe John Doe john doe Max Example Max …
Introduction to Git internals
CS Visualized: Useful Git Commands