Tue, 14 Feb 2023 02:54:12 -0600
Add some plugin config
93
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
1 | [user] |
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
2 | email = mhoward@roomag.org |
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
3 | name = Meredith Howard |
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
4 | |
721 | 5 | [github] |
6 | user = merrilymeredith | |
7 | ||
879
34cddeee4d77
init.defaultBranch = main
Meredith Howard <mhoward@roomag.org>
parents:
858
diff
changeset
|
8 | [init] |
34cddeee4d77
init.defaultBranch = main
Meredith Howard <mhoward@roomag.org>
parents:
858
diff
changeset
|
9 | defaultBranch = main |
34cddeee4d77
init.defaultBranch = main
Meredith Howard <mhoward@roomag.org>
parents:
858
diff
changeset
|
10 | |
93
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
11 | [alias] |
936 | 12 | ci = commit |
13 | rec = commit -p | |
14 | unrec = checkout --patch | |
15 | amend = commit -p --amend | |
16 | st = status -sb | |
17 | co = checkout | |
18 | br = branch | |
973 | 19 | brd = diff @{u}... |
20 | brf = diff --name-only @{u}... | |
936 | 21 | staged = diff --cached |
22 | unstage = reset HEAD -- | |
23 | rollback = reset --soft ^HEAD | |
961
68baaab84a0c
Make git-histedit an alias. can use --keep-base after 2.24
Meredith Howard <mhoward@roomag.org>
parents:
936
diff
changeset
|
24 | histedit = rebase -i --autosquash --onto @{u}... @{u} |
936 | 25 | pushf = push --force-with-lease |
997
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
26 | up = pull |
936 | 27 | update = "!git remote update -p && git merge --ff-only --stat @{u}" |
28 | in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" | |
29 | out = "!git log --pretty=onelinecustom @{u}.." | |
30 | new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" | |
31 | glog = log --graph --pretty=onelinecustom | |
32 | recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f" | |
33 | orphan = "!f() { git fsck --dangling | grep commit | cut -d' ' -f3 | xargs git show --compact-summary; }; f" | |
935 | 34 | fork-point = merge-base --fork-point @{u} |
228
bf3429214b78
Nice up log output in a few places
Meredith Howard <mhoward@roomag.org>
parents:
212
diff
changeset
|
35 | |
792 | 36 | [pretty] |
37 | onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset | |
38 | ||
39 | [ui] | |
40 | color = true | |
41 | ||
42 | [core] | |
43 | pager = LESS=FSRXi less | |
44 | ||
45 | [gpg] | |
46 | program = "gpg2" | |
47 | ||
48 | [merge] | |
881 | 49 | tool = vimdiff3 |
50 | guitool = gvimdiff | |
51 | conflictstyle = diff3 | |
792 | 52 | |
166
7d0c758c7a4d
default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents:
93
diff
changeset
|
53 | [branch] |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
54 | autosetupmerge = always |
177 | 55 | |
629 | 56 | [commit] |
57 | verbose = true | |
58 | gpgsign = true | |
59 | ||
60 | [diff] | |
61 | compactionheuristic = true | |
62 | ||
997
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
63 | [pull] |
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
64 | rebase = true |
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
65 | |
177 | 66 | [push] |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
67 | default = current |
177 | 68 | |
997
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
69 | [fetch] |
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
70 | prune = true |
173
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
71 | |
997
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
72 | [rebase] |
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
73 | autostash = true |
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
74 | stat = true |
791 | 75 | |
629 | 76 | [transfer] |
916 | 77 | fsckobjects = true |
997
9e1ec7624f59
Update for newer configs, use autostash
Meredith Howard <mhoward@roomag.org>
parents:
973
diff
changeset
|
78 | |
918
09aadfdbc7dd
fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents:
916
diff
changeset
|
79 | [fetch "fsck"] |
09aadfdbc7dd
fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents:
916
diff
changeset
|
80 | zeroPaddedFilemode = ignore |
09aadfdbc7dd
fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents:
916
diff
changeset
|
81 | badDate = ignore |
09aadfdbc7dd
fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents:
916
diff
changeset
|
82 | badTimezone = ignore |
494
d6d298c93437
I like verbose commits
Meredith Howard <mhoward@roomag.org>
parents:
492
diff
changeset
|
83 | |
186 | 84 | # include.path is available in git 1.7.10 and later |
173
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
85 | [include] |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
86 | path = ~/.gitconfig.local |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
87 | |
916 | 88 | # vim: noet:ts=8:sw=8 |