-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
55 lines (55 loc) · 1.25 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
[init]
templatedir = ~/.git_template
[push]
default = current
[color]
ui = auto
[alias]
aa = add --all
a = add
ap = add --patch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit -v
cm = commit -m
cam = commit --amend --no-edit
co = checkout
fp = push --force-with-lease
p = push
d = diff --color
st = status
rb = rebase
rbi = rebase -i
rbc = rebase --continue
rba = rebase --abort
rbs = rebase --skip
r = reset
rs = reset --soft
rh = reset --hard
rl = reflog --relative-date
rmc = rm --cached
l = log
mb = branch -m
wc = whatchanged --name-only --pretty="" origin..HEAD
f = fetch
ut = update-index --assume-unchanged
t = update-index --no-assume-unchanged
ua = git rm --cached *
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = /usr/bin/vim
pager = diff-so-fancy | less --tabs=4 -RFX
[merge]
ff = only
tool = code
[commit]
template = ~/.gitmessage
[fetch]
prune = true
[rebase]
autosquash = true
[include]
path = ~/.gitconfig.local
[user]
email = andy.fang@shopify.com
name = Andy Fang