-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
119 lines (118 loc) · 3.22 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[alias]
a = add
aa = add --all
ap = add --patch
ai = add -i
an = add -N
ana = add -N .
b = branch -vv
ba = branch -avv
bis = bisect start
big = bisect good
bib = bisect bad
bir = bisect reset
c = commit -v
cs = commit -v --squash
csh = commit -v --squash HEAD
ca = commit -va
cas = commit -va --squash
cash = commit -va --squash HEAD
ce = clone -v --progress --recursive --filter=blob:none
cf = commit -v --fixup
cfh = commit -v --amend
caf = commit -va --fixup
cafh = commit -va --amend
cln = clean -n
clf = clean -f
co = checkout
coa = checkout .
cob = checkout -b
count = rev-list --count --left-right
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
dt = difftool
dtc = difftool --cached
dth = difftool HEAD
df = diff
dfc = diff --cached
dfh = diff HEAD
dfw = diff --word-diff
dfcw = diff --cached --word-diff
dfhw = diff HEAD --word-diff
dsf = "!git diff --color $@ | diff-so-fancy" # https://github.com/stevemao/diff-so-fancy
f = fetch --prune
gp = grep --untracked --ignore-case --line-number --break
su = submodule update
k = log --graph --decorate --pretty=oneline --abbrev-commit
ka = log --graph --remotes --decorate --pretty=oneline --abbrev-commit
km = log --graph --pretty=format:\"%C(yellow)%h%Creset%C(auto)%d%Creset %s %C(blue ul)%ae%Creset\"
kl = log --decorate --pretty=oneline --abbrev-commit --name-status HEAD~1..HEAD
last = log -1 -p --stat
l = log
mff = merge --ff-only --stat -v --progress
mnf = merge --no-ff --stat -v --progress
mt = mergetool
p = push -u
po = push -u origin
pa = push --all
paf = push --all --force
pt = push --tags
ptf = push --tags --force
pr = push --recurse-submodules=on-demand
r = rebase --rebase-merges
ra = rebase --abort
rc = rebase --continue
rem = remote -v
ri = rebase -i --autosquash
rs = rebase --skip
rt = reset
rts = reset --soft
rth = reset --hard
rp = remote prune
unstage = reset HEAD
rg = reflog
s = stash
ss = stash save
sa = stash apply
sh = show --oneline
sp = stash pop
sl = stash list
st = status -sb
sts = status
t = tag
up = pull --ff-only --stat -v --progress
files = diff-tree --no-commit-id --name-only -r
refs = for-each-ref --sort=-committerdate --format='%(refname:short) %(committerdate:short)'
rup = !git pull && git submodule sync --recursive && git submodule update --init --recursive
[user]
email = [email protected]
name = Adrian-Tudor Panescu
[color]
ui = auto
[merge]
tool = meld
[diff]
tool = vimdiff
submodule = log
[difftool]
prompt = false
[mergetool]
prompt = false
[push]
default = current
[help]
autocorrect = 1
[branch]
autosetuprebase = always
[clean]
requireForce = true
[web]
browser = google-chrome
[status]
submoduleSummary = true
[rebase]
instructionFormat = %s [%an]