File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# https://git-scm.com/docs/git-config
2+
3+ # https://blog.gitbutler.com/git-tips-2-new-stuff-in-git#some-git-branch-stuff
24[branch ]
35sort = -committerdate
46
@@ -83,9 +85,12 @@ lineNumber = true
8385autocorrect = prompt
8486
8587[include ]
86- path = " ~ /.gitconfig-custom" # include the user block
88+ path = " ~ /.gitconfig-custom" # include other customizations
8789path = " ~ /.gitalias"
8890
91+ [includeIf "hasconfig :remote.* .url :https://github.com/** "]
92+ path = " ~ /github-tomy0000000.gitconfig" # include the user block
93+
8994[init ]
9095# https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/
9196defaultBranch = " main"
Original file line number Diff line number Diff line change 1+ [user ]
2+ name = " Tomy Hsieh"
3+ email = " git@tomy.me"
4+ signingkey = " 6067E1A85CE97701A70403FA4E6AF0EEDD2205F8"
5+
6+ [commit ]
7+ gpgsign = true
8+
9+ [gpg ]
10+ program = /usr/local/MacGPG2/bin/gpg
You can’t perform that action at this time.
0 commit comments