-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot.gitconfig
46 lines (41 loc) · 1.24 KB
/
dot.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
[alias]
rc = rebase --continue
ft = fetch
ftp = fetch --tags --prune
pr = pull --rebase
co = checkout
wd = diff --word-diff
br = branch
so = remote show origin
kc = commit
st = status
graph = log --graph --pretty='format:%h %Cgreen%an%Creset | %s %Cred%d%Creset'
conf = config
sh = show
cm = checkout master
ci = commit -a
lg = log --graph --pretty=oneline --decorate --date=short --abbrev-commit --branches
ad = add
fo = fetch origin
ro = rebase origin
pl = pull
ps = "!git push \"$(git rev-parse --abbrev-ref HEAD)\""
psf = push --force $(git rev-parse --abbrev-ref HEAD)
su = !git branch -u origin $(git rev-parse --abbrev-ref HEAD)
pb = !git push origin $(git rev-parse --abbrev-ref HEAD)
pbf = !git push --force origin $(git rev-parse --abbrev-ref HEAD)
up = !git pull origin $(git rev-parse --abbrev-ref HEAD)
pbu = !git push n $(git rev-parse --abbrev-ref HEAD)
upu = !git pull n $(git rev-parse --abbrev-ref HEAD)
pbfu = !git push --force n $(git rev-parse --abbrev-ref HEAD)
[core]
autoCRLF = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
[include]
path = ~/.gitconfig.local