-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
87 lines (76 loc) · 1.81 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
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
#st = status
#cl = clone
#ci = commit
#cm = commit -m
#ca = commit --amend
#cim = commit -a -m
#br = branch
#co = checkout
#cob = checkout -b
#pu = pull
#pur = pull --rebase
#go = checkout -b
#bra = branch -a
done = merge --no-ff
log = log --graph --pretty=custom
fuck = rebase --interactive HEAD~2
tags = tag -l
undopush = push -f origin HEAD^:master
ls = ls-files
remotes = remote -v
sclone = svn clone -s
spush = svn dcommit
spull = svn rebase
[core]
quotepath = false
editor = code
excludesfile = ~/.gitignore_global
[merge]
log = true
[branch "master"]
remote = origin
merge = refs/heads/master
[user]
name = James Fleeting
email = [email protected]
[init]
templatedir = ~/.git_template
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[push]
# Make `git push` automatically push relevant
# annotated tags when pushing branches out.
followTags = true
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[pretty]
custom = "%C(magenta)%h%C(red)%d %C(yellow)%ar %C(green)%s %C(yellow)(%an)"
# │ │ │ │ └─ author name
# │ │ │ └─ message
# │ │ └─ date (relative)
# │ └─ decorations (branch, heads or tags)
# └─ hash (abbreviated)