-
Notifications
You must be signed in to change notification settings - Fork 15
/
_gitconfig
67 lines (52 loc) · 1.39 KB
/
_gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## -*- default-directory: "~/.dotfiles/"; -*-
[core]
autocrlf = false
pager = less -x1,5
whitespace = cr-at-eol
[user]
name = Christopher Wellons
[init]
defaultBranch = master
[protocol]
version = 2
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[fetch]
prune = true
[push]
default = simple
[pull]
ff = only
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
review = "!f() { git log -p --reverse \"$@\" origin/master...HEAD; }; f"
trim = reflog expire --expire-unreachable=now --all
chop = gc --prune=now
optimize = repack -a -d -f --depth=4096 --window=4096 --window-memory=0
pf = pull --ff-only
pr = "!f() { git fetch --force origin pull/$1/head:pr-$1; }; f"
host = daemon --base-path=. --reuseaddr --export-all
whost = daemon --base-path=. --reuseaddr --export-all --enable=receive-pack
addw = -c interactive.diffFilter='git diff --color=always --word-diff' add -p
stag = tag -l --sort=v:refname
[sendemail]
smtpserver = localhost
smtpserverport = 2525
[rebase]
autoStash = true
autoSquash = true
[merge]
ff = only
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[gpg]
program = passphrase2pgp
[credential]
guiPrompt = false
helper =