-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathgitconfig
45 lines (45 loc) · 1.02 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
[core]
excludesfile = ~/.gitignore
pager = less -+S
autocrlf = input
[credential]
helper = osxkeychain
[fetch]
prune = true
[push]
default = simple
[rebase]
autosquash = true
[rerere]
enabled = true
autoupdate = true
[pull]
ff = only
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[help]
autocorrect = 1
[diff]
indentHeuristic = on
[alias]
aa = add --all --intent-to-add
ap = add --patch
append = commit --amend --no-edit
cm = commit -m
d = diff --color-words
ds = diff --staged
dh = diff --color-words head
fix = commit --fixup
l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s - %C(bold blue)%an%Creset %C(magenta)(%ar)%Creset'
ll = log --stat --abbrev-commit
pb = pull --rebase
pf = push --force-with-lease
pl = pull --ff-only
uncommit = reset --soft HEAD^
unstage = reset HEAD --
rfl = log --walk-reflogs
s = status -sb
squ = commit --squash
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort