forked from puppetlabs/puppetlabs-rcfiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
89 lines (88 loc) · 2.02 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
[gpg]
program = gpg2
[credential]
helper = cache
[core]
editor = vim
excludesfile = ~/.gitignore_global
autocrlf = input
[merge]
tool = vimdiff
[color]
diff = auto
ui = auto
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[mergetool]
keepbackup = true
[push]
default = simple
[alias]
a = add
aa = add -A
ap = add -p
b = branch
ba = branch -a
bd = branch -D
bm = branch --merged
bmv = branch -v --merged
bv = branch -avv
c = commit
ca = commit -a
cam = commit -a -m
cm = commit -m
co = checkout
cp = cherry-pick
d = diff
dc = diff --cached
dcw = diff --cached -w
dn = diff --numstat
ds = diff --staged
dst = diff --stat
dt = difftool
dtc = difftool --cached
dw = diff -w
fa = fetch --all
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit --date=relative
l1 = log --pretty=oneline
lg = log -p
ld = log --pretty=format:'%C(red)%H%C(reset) %C(yellow)%ai%C(reset) %C(blue)%<(25)%an%C(reset) %C(green)%d%C(reset) %s' --date=short
lu = log --graph --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit --date=relative -u
luw = log --graph --pretty=format:'%C(red)%h%C(reset) -%C(yellow)%d%C(reset) %s %C(green)(%cr) %C(bold blue)<%an>%C(reset)' --abbrev-commit --date=relative -u -w
m = commit -m
mt = mergetool
p = push
pa = push --all
pt = push --tags
rv = remote -v
s = status
tree = log --oneline --decorate --graph
undo-commit = reset --soft HEAD^
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag = v
[fetch]
prune = true
[color "diff"]
whitespace = red reverse
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[include]
path = ~/.gitconfig.local
[difftool]
prompt = false
[diff]
tool = vimdiff
[pull]
rebase = false
[init]
defaultBranch = main
[hub]
protocol = ssh