host info updates
[distro-setup] / .gitconfig
1 [user]
2 name = Ian Kelling
3 email = iank@fsf.org
4 #email = ian@iankelling.org
5 [alias]
6 lg = log --graph
7 lgstat = log --stat --graph --pretty=format:'%h %ad- %s [%an]'
8 co = checkout
9 s = status
10 ci = commit
11 lol = log --graph --pretty=oneline --abbrev-commit --all
12 dt = difftool
13 # https://stackoverflow.com/questions/17369254/is-there-a-way-to-cause-git-reflog-to-show-a-date-alongside-each-entry
14 rl = reflog --format='%C(auto)%h %<|(17)%gd %C(blue)%ci%C(reset) %s'
15
16 [core]
17 excludesfile = ~/.gitignore_global
18 # https://stackoverflow.com/questions/59061816/git-forces-refresh-index-after-switching-between-windows-and-linux
19 # i'm hoping this stops refresh after btrfs sends, especially for brains
20 checkStat = minimal
21 [credential]
22 helper = cache
23
24 # new option, but not available yet on debian wheezy
25 # [push]
26 # default = simple
27
28 # based on ghc advice,
29 # https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources
30 [diff]
31 ignoreSubmodules = dirty
32 tool = meld
33 # on git pull of coreboot:
34 # warning: inexact rename detection was skipped due to too many files.
35 # warning: you may want to set your diff.renameLimit variable to at least 3694 and retry the command.
36 renameLimit = 50000
37 renames = copy
38
39 [gitreview]
40 username = iank
41 remote = origin
42 [color]
43 ui = auto
44 status = auto
45 branch = auto
46 interactive = auto
47 diff = auto
48 # for hooks. http://stackoverflow.com/questions/2293498/git-commit-hooks-global-settings
49 [init]
50 templatedir = ~/.git_template
51 [difftool]
52 tool = meld
53 prompt = false
54 [format]
55 # This seemed like a good idea, but it broke interactive rebase, so disabled.
56 # for format-patch, use --base=auto. This means we need to do
57 # git branch --set-upstream-to, but that should be done automatically
58 # based on other settings.
59 # useAutoBase = true
60 [branch]
61 # Disabled as this was to be used with useAutoBase, which didn't work as expected.
62 # sets local branches to have the same remote tracking branch.
63 # This allows the useAutoBase setting to work without having to
64 # setup the branch specially with
65 # git branch --set-upstream-to origin/my_branch
66 # or git checkout -b my-branch origin/whatever
67 # autoSetupMerge = always
68
69 # make git pull always rebase by default
70 autoSetupRebase = always
71 [push]
72 default = simple
73
74 # this is because on sending email, i got this prompt:
75 # The Cc list above has been expanded by additional
76 # addresses found in the patch commit message. By default
77 # send-email prompts before sending whenever this occurs.
78 # This behavior is controlled by the sendemail.confirm
79 # configuration setting.
80
81 # For additional information, run 'git send-email --help'.
82 # To retain the current behavior, but squelch this message,
83 # run 'git config --global sendemail.confirm auto'.
84
85 # Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y
86 [sendemail]
87 confirm = auto
88 # https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported
89 [url "https://github.com/"]
90 insteadOf = git://github.com/