-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgitconfig
67 lines (63 loc) · 1.67 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
56
57
58
59
60
61
62
63
64
65
66
67
[color]
ui = auto
[color "diff"]
commit = green
meta = yellow
frag = cyan
old = red
new = green
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[alias]
a = add
aa = add --all --verbose .
addall = add -A .
br = branch
ch = cherry -v origin
ci = commit
co = checkout
cv = commit -v
d = diff
dc = diff --cached
ds = diff --staged
l = log
ls = ls-files
p = pull
pr = pull --rebase
s = diff --staged
sh = show
st = status
ut = ls-files -z -o --exclude-standard
amend = commit --amend --no-edit
blank = !git reset --hard HEAD && git clean -d -f
branches = branch -a
graph = log --graph -9 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order
pile = stash --include-untracked
please = push.please
pop = stash pop
remotes = remote -v
undo = reset HEAD~1
unstage = reset -q HEAD --
hist = log --graph --abbrev-commit --pretty=format:'%C(red)%h%C(reset) - %s %C(green)(%cr) %C(blue)<%an>%C(magenta)%d%C(reset)'
oneline = log --pretty=format:\"%h %ad%x20%s%x20%x28%an%x29\" --date=short
current = log --pretty=format:'%ad %h %d' --abbrev-commit --date=short -1
cur = log --pretty=format:'%ad %h %d' --abbrev-commit --date=short -1
precommit = diff --cached --diff-algorithm=minimal -w
[alias "push"]
please = push --force-with-lease
[push]
default = current
[core]
autocrlf = input
excludesfile = ~/.gitignore_global
pager = diff-highlight | less
editor = nvim
commitGraph = true
[include]
path = ~/.gitconfig.local
[user]
name = John DeWyze