Git 核心開發者如何設定 Git # clearly makes git better [column] ui = auto [branch] sort = -committerdate [tag] sort = version:refname [init] defaultBranch = main [diff] algorithm = histogram colorMoved = plain …
Git
All posts
我如何設定 Git 身分 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
在 Git 中追蹤 SQLite 資料庫變更 用於 diff sqlite 資料表的 Git hook 首先,在設定中加入名為 “sqlite3” 的 diff 類型。最簡單的方式是直接執行這些指令: git config diff.sqlite3.binary true git config diff.sqlite3.textconv "echo .dump | sqlite3" 或者,你也可以把這段加入你的 …
利用 GPG 簽署 git commit
Git 小技巧:用 .mailmap 合併不同作者 .mailmap 檔案 ==> 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 之前 $ git shortlog -se 1 John Doe …
Git 内部原理介绍
CS 視覺化:實用的 Git 指令