-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitconfig
51 lines (48 loc) · 1.77 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
[github]
user = amontalenti
[user]
name = Andrew Montalenti
email = git@amontalenti.com
[alias]
st = status -sb
s = status -sb .
ci = commit -a
br = branch
co = checkout
df = diff
unstage = reset HEAD
dwc = diff -w -M --color-words
lc = log ORIG_HEAD.. --stat --no-merges
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) %C(white)%s%C(reset) %C(bold white)— %cn%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%cD%C(reset) %C(bold green)(%cr)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %cn%C(reset)' --abbrev-commit
lg3 = log --pretty="format:\"%h %ad | %s%d [%an]\"" --graph --date=short
lg = !"git lg1"
wip = for-each-ref --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
ll = log -p
rb = rebase
fix = rebase -i HEAD^^
rbc = rebase --continue
re = remote
tree = log --graph --decorate --pretty=oneline --abbrev-commit
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
up = pull --rebase
build = checkout-index -a --prefix=_gitbuild/
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
checkout-no-big-blobs = clone --no-checkout --filter=blob:limit=100m
[pager]
df = cat
[fetch]
recurseSubmodules = true
[branch]
autosetuprebase = always
[push]
default = current
[color]
ui = true
[receive]
denyNonFastForwards = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true