Thu, 14 Sep 2017 19:53:39 -0400
place encoding and scriptencoding at top
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 | |
f8612a811de0
Merge .gitconfig from mhoward-lt(92aa984868e2)
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
5 | [alias] |
541 | 6 | ci = commit |
7 | rec = commit -p | |
8 | unrec = checkout --patch | |
9 | amend = commit -p --amend | |
10 | st = status -sb | |
11 | co = checkout | |
12 | br = branch | |
13 | staged = diff --cached | |
14 | unstage = reset HEAD -- | |
540
c51f6fc7c727
add rollback, more hg riffs!
Meredith Howard <mhoward@roomag.org>
parents:
531
diff
changeset
|
15 | rollback = reset --soft ^HEAD |
541 | 16 | up = pull -r --prune |
17 | update = "!git remote update -p && git merge --ff-only --stat @{u}" | |
18 | in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}" | |
19 | out = "!git log --pretty=onelinecustom @{u}.." | |
20 | new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}" | |
21 | cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 echo git branch -d" | |
22 | glog = log --graph --pretty=onelinecustom | |
23 | recent = !sh -c 'git for-each-ref --count=${1:-20} --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${@:2}' - | |
228
bf3429214b78
Nice up log output in a few places
Meredith Howard <mhoward@roomag.org>
parents:
212
diff
changeset
|
24 | |
166
7d0c758c7a4d
default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents:
93
diff
changeset
|
25 | [branch] |
7d0c758c7a4d
default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents:
93
diff
changeset
|
26 | autosetuprebase = always |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
27 | autosetupmerge = always |
177 | 28 | |
629 | 29 | [commit] |
30 | verbose = true | |
31 | gpgsign = true | |
32 | ||
33 | [core] | |
34 | pager = LESS='FSRXi' less | |
35 | ||
36 | [diff] | |
37 | compactionheuristic = true | |
38 | ||
39 | [fsck] | |
40 | badTimezone = ignore | |
41 | ||
42 | [gpg] | |
43 | program = "gpg2" | |
44 | ||
45 | [merge] | |
46 | tool = vimdiff2 | |
47 | ||
48 | [pretty] | |
49 | onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset | |
50 | ||
177 | 51 | [push] |
196
29fce4f498e5
Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents:
190
diff
changeset
|
52 | default = current |
177 | 53 | |
54 | [rebase] | |
55 | stat = true | |
173
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
56 | |
629 | 57 | [transfer] |
58 | fsckobjects = true | |
494
d6d298c93437
I like verbose commits
Meredith Howard <mhoward@roomag.org>
parents:
492
diff
changeset
|
59 | |
629 | 60 | [ui] |
61 | color = true | |
548
e34f183fbd55
Make sure git sticks to gpg2
Meredith Howard <mhoward@roomag.org>
parents:
542
diff
changeset
|
62 | |
186 | 63 | # 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
|
64 | [include] |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
65 | path = ~/.gitconfig.local |
757eaebee0a2
add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents:
166
diff
changeset
|
66 | |
228
bf3429214b78
Nice up log output in a few places
Meredith Howard <mhoward@roomag.org>
parents:
212
diff
changeset
|
67 | # vim: noet:sw=8 |