-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
55 lines (55 loc) · 1.5 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
[user]
email = [email protected]
name = Dan Nichols
[color]
ui = auto
[alias]
co = checkout
s = status
d = diff
dc = diff --cached
ds = diff --stat
de = describe --tags --first-parent
f = fetch --all --prune
p = pull --ff-only
pa = pull --all --prune --ff-only
b = branch
ba = branch -a
bad = branch -a -r --merged origin/develop
r = remote -v
a = add --all
c = commit
showtrackedignored = ls-files -i --exclude-standard
l = log --graph --decorate --oneline
lo = log --oneline
lg = log --graph --decorate
lgo = log --graph --decorate --oneline
la = log --graph --all --decorate
lao = log --graph --all --decorate --oneline
changelog = "!changelog() { git log --oneline `perl -nle 'print $& if m{COMMIT \\K.*}' VERSION`..HEAD; }; changelog"
cl = "!lasttag() { git log --oneline `git describe --abbrev=0`..; }; lasttag"
cl0 = "!lasttag() { git log --oneline --format='%s' `git describe --abbrev=0`..; }; lasttag"
bd = "!bd() { git log `git merge-base develop HEAD`..HEAD; }; bd"
bdb = "!bdb() { git log `git merge-base $2 $1`..$1; }; bdb"
sts = stash save
stl = stash list
std = stash drop
stp = stash pop
sup = submodule update --init --recursive
m = merge --ff-only
mf = merge --ff-only
mff = merge --ff-only
mfo = merge --ff-only origin
[rebase]
autosquash = true
[push]
default = simple
[core]
editor = nvim
pager = less -F -X
excludesfile = /Users/dan/.gitignore
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true