Fri, 07 Aug 2020 17:56:27 -0500
init.defaultBranch = main
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] |
541 | 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 | |
19 | staged = diff --cached | |
20 | unstage = reset HEAD -- | |
540
c51f6fc7c727
add rollback, more hg riffs!
Meredith Howard <mhoward@roomag.org>
parents:
531
diff
changeset
|
21 | rollback = reset --soft ^HEAD |
541 | 22 | up = pull -r --prune |
23 | update = "!git remote update -p && git merge --ff-only --stat @{u}" | |
24 | in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" | |
25 | out = "!git log --pretty=onelinecustom @{u}.." | |
26 | new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" | |
27 | cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" | |
28 | glog = log --graph --pretty=onelinecustom | |
789 | 29 | recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f" |
228
bf3429214b78
Nice up log output in a few places
Meredith Howard <mhoward@roomag.org>
parents:
212
diff
changeset
|
30 | |
792 | 31 | [pretty] |
32 | onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset | |
33 | ||
34 | [ui] | |
35 | color = true | |
36 | ||
37 | [core] | |
38 | pager = LESS=FSRXi less | |
39 | ||
40 | [gpg] | |
41 | program = "gpg2" | |
42 | ||
43 | [merge] | |
44 | tool = vimdiff2 | |
45 | ||
166
7d0c758c7a4d
default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents:
93
diff
changeset
|
46 | [branch] |
7d0c758c7a4d
default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents:
93
diff
changeset
|
47 | autosetuprebase = always |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
48 | autosetupmerge = always |
177 | 49 | |
629 | 50 | [commit] |
51 | verbose = true | |
52 | gpgsign = true | |
53 | ||
54 | [diff] | |
55 | compactionheuristic = true | |
56 | ||
177 | 57 | [push] |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
58 | default = current |
177 | 59 | |
60 | [rebase] | |
61 | stat = true | |
173
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
62 | |
791 | 63 | [rerere] |
64 | enabled = true | |
65 | autoupdate = true | |
66 | ||
629 | 67 | [transfer] |
68 | fsckobjects = true | |
494
d6d298c93437
I like verbose commits
Meredith Howard <mhoward@roomag.org>
parents:
492
diff
changeset
|
69 | |
186 | 70 | # 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
|
71 | [include] |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
72 | path = ~/.gitconfig.local |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
73 | |
228
bf3429214b78
Nice up log output in a few places
Meredith Howard <mhoward@roomag.org>
parents:
212
diff
changeset
|
74 | # vim: noet:sw=8 |