.gitconfig

Tue, 08 Feb 2022 00:34:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 08 Feb 2022 00:34:13 -0500
changeset 977
ba16cab3aaf3
parent 973
20158142fa43
child 997
9e1ec7624f59
permissions
-rw-r--r--

Proper split to gvimrc

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
947e5acdd37a add github.user
Meredith Howard <mhoward@roomag.org>
parents: 629
diff changeset
5 [github]
947e5acdd37a add github.user
Meredith Howard <mhoward@roomag.org>
parents: 629
diff changeset
6 user = merrilymeredith
947e5acdd37a add github.user
Meredith Howard <mhoward@roomag.org>
parents: 629
diff changeset
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
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
12 ci = commit
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
13 rec = commit -p
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
14 unrec = checkout --patch
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
15 amend = commit -p --amend
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
16 st = status -sb
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
17 co = checkout
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
18 br = branch
973
20158142fa43 fix brd/brf aliases
Meredith Howard <mhoward@roomag.org>
parents: 961
diff changeset
19 brd = diff @{u}...
20158142fa43 fix brd/brf aliases
Meredith Howard <mhoward@roomag.org>
parents: 961
diff changeset
20 brf = diff --name-only @{u}...
936
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
21 staged = diff --cached
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
22 unstage = reset HEAD --
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
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
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
25 pushf = push --force-with-lease
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
26 up = pull -r --prune
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
27 update = "!git remote update -p && git merge --ff-only --stat @{u}"
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
28 in = "!git remote update -p; git log --pretty=onelinecustom ..@{u}"
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
29 out = "!git log --pretty=onelinecustom @{u}.."
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
30 new = "!git log --pretty=onelinecustom $1@{1}..$1@{0}"
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
31 glog = log --graph --pretty=onelinecustom
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
32 recent = "!f() { git for-each-ref --count=20 --sort=-committerdate --format=\"%(committerdate:short) %(refname:short)\" ${1:-refs/heads} ${@:2}; }; f"
Meredith Howard <mhoward@roomag.org>
parents: 935
diff changeset
33 orphan = "!f() { git fsck --dangling | grep commit | cut -d' ' -f3 | xargs git show --compact-summary; }; f"
935
17d8ea40fb15 add fork-point alias
Meredith Howard <mhoward@roomag.org>
parents: 918
diff changeset
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
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
36 [pretty]
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
37 onelinecustom = tformat:%C(magenta)%h%Creset %G? -%C(yellow)%d%Creset %s %C(green)(%cr)%Creset %C(cyan)<%an>%Creset
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
38
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
39 [ui]
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
40 color = true
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
41
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
42 [core]
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
43 pager = LESS=FSRXi less
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
44
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
45 [gpg]
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
46 program = "gpg2"
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
47
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
48 [merge]
881
a5b3b7b6850c mergetool fixes
Meredith Howard <mhoward@roomag.org>
parents: 880
diff changeset
49 tool = vimdiff3
a5b3b7b6850c mergetool fixes
Meredith Howard <mhoward@roomag.org>
parents: 880
diff changeset
50 guitool = gvimdiff
a5b3b7b6850c mergetool fixes
Meredith Howard <mhoward@roomag.org>
parents: 880
diff changeset
51 conflictstyle = diff3
792
2693c3ccb0da rearrange
Meredith Howard <mhoward@roomag.org>
parents: 791
diff changeset
52
166
7d0c758c7a4d default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents: 93
diff changeset
53 [branch]
7d0c758c7a4d default to rebase w/ pull
Meredith Howard <mhoward@roomag.org>
parents: 93
diff changeset
54 autosetuprebase = always
196
29fce4f498e5 Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents: 190
diff changeset
55 autosetupmerge = always
177
6d15a355e17a .gitconfig additions
Meredith Howard <mhoward@roomag.org>
parents: 173
diff changeset
56
629
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
57 [commit]
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
58 verbose = true
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
59 gpgsign = true
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
60
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
61 [diff]
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
62 compactionheuristic = true
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
63
177
6d15a355e17a .gitconfig additions
Meredith Howard <mhoward@roomag.org>
parents: 173
diff changeset
64 [push]
196
29fce4f498e5 Update gitconfig alases
Meredith Howard <mhoward@roomag.org>
parents: 190
diff changeset
65 default = current
177
6d15a355e17a .gitconfig additions
Meredith Howard <mhoward@roomag.org>
parents: 173
diff changeset
66
6d15a355e17a .gitconfig additions
Meredith Howard <mhoward@roomag.org>
parents: 173
diff changeset
67 [rebase]
6d15a355e17a .gitconfig additions
Meredith Howard <mhoward@roomag.org>
parents: 173
diff changeset
68 stat = true
173
757eaebee0a2 add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents: 166
diff changeset
69
791
5b1ae7f6ee1e add global rerere
Meredith Howard <mhoward@roomag.org>
parents: 790
diff changeset
70 [rerere]
5b1ae7f6ee1e add global rerere
Meredith Howard <mhoward@roomag.org>
parents: 790
diff changeset
71 autoupdate = true
5b1ae7f6ee1e add global rerere
Meredith Howard <mhoward@roomag.org>
parents: 790
diff changeset
72
629
c11c253374ac reorder sections
Meredith Howard <mhoward@roomag.org>
parents: 612
diff changeset
73 [transfer]
916
fed7d34cdfff fixup, add orphan
Meredith Howard <mhoward@roomag.org>
parents: 891
diff changeset
74 fsckobjects = true
918
09aadfdbc7dd fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents: 916
diff changeset
75 [fetch "fsck"]
09aadfdbc7dd fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents: 916
diff changeset
76 zeroPaddedFilemode = ignore
09aadfdbc7dd fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents: 916
diff changeset
77 badDate = ignore
09aadfdbc7dd fsck sucks without these. i'm so tired. git please
Meredith Howard <mhoward@roomag.org>
parents: 916
diff changeset
78 badTimezone = ignore
494
d6d298c93437 I like verbose commits
Meredith Howard <mhoward@roomag.org>
parents: 492
diff changeset
79
186
4d168818b573 verbose git-up
Meredith Howard <mhoward@roomag.org>
parents: 182
diff changeset
80 # 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
81 [include]
757eaebee0a2 add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents: 166
diff changeset
82 path = ~/.gitconfig.local
757eaebee0a2 add include .gitconfig.local
Meredith Howard <mhoward@roomag.org>
parents: 166
diff changeset
83
916
fed7d34cdfff fixup, add orphan
Meredith Howard <mhoward@roomag.org>
parents: 891
diff changeset
84 # vim: noet:ts=8:sw=8

mercurial