-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
46 lines (46 loc) · 1.32 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
[alias]
b = branch
ba = branch -a
bu = !git pull --rebase && git submodule foreach git pull --rebase origin master
c = clone --recursive
ci = commit
co = checkout
d = diff
dc = diff --cached
fp = format-patch
g = !git gui &
gr = log --graph
go = log --graph --pretty=oneline --abbrev-commit
k = !gitk &
ka = !gitk --all &
lc = log ORIG_HEAD.. --stat --no-merges
lp = log --patch-with-stat
mnf = merge --no-ff
mnff = merge --no-ff
mt = mergetool
p = format-patch -1
r = remote -v
s = status -s
sh = !git-sh
st = status
sra = svn rebase --all
stm = status --untracked=no
sub = submodule update --init --recursive
pullsrb = !git stash save && git pull --rebase && git stash pop && echo 'Success!'
merge-log = "!f() { git log --stat \"$1^..$1\"; }; f"
[user]
email = [email protected]
name = Kevin Mackay
[core]
editor = vim
excludesfile = ~/.gitignore
autocrlf = true
[push]
default = matching
[color]
ui = auto
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true