-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
99 lines (76 loc) · 1.88 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[user]
name = Jason Webster
[github]
user = jasonwebster
[core]
excludesfile = ~/.gitignore_global
attributesfile = ~/.gitattributes_global
commitGraph = true
[init]
defaultBranch = main
[commit]
gpgsign = true
[branch]
autosetuprebase = always
[push]
default = simple
[merge]
log = true
[rebase]
autosquash = true
[rerere]
enabled = 1
[interactive]
singleKey = true
[gc]
writeCommitGraph = true
[alias]
s = switch
br = branch
ci = commit
co = checkout
df = diff
pp = !"git pull && git push"
st = status
ls = log --oneline --decorate
ll = log --oneline --graph --decorate
main = !"git symbolic-ref refs/remotes/origin/HEAD | cut -d'/' -f4"
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
prune-locals = !git branch --merged | grep -v \"\\*\" | xargs -n 1 git branch -d
topic-log = "!sh -c 'git log master...`git rev-parse --abbrev-ref HEAD` --pretty=oneline --abbrev-commit' -"
topic-rebase = "!sh -c 'git rebase -i HEAD~`git topic-log | wc -l | tr -d \" \"`' -"
push-pull-request = "!sh -c \"git push -u origin `git rev-parse --abbrev-ref HEAD` && hub pull-request $*\""
fixup = !"git commit --fixup=`git log --pretty='%H' $1 | head -1`"
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[url "[email protected]:"]
insteadOf = "gh:"
insteadOf = "github:"
insteadOf = "git://github.com/"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[url "[email protected]:"]
insteadOf = "heroku:"
[diff]
algorithm = patience
[diff "exif"]
textconv = exiftool
[include]
path = .gitconfig_local