-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
47 lines (47 loc) · 1.44 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
[core]
excludesfile = /Users/corban.johnson/.gitignore_global
pager = less -r
attributesfile = /Users/corban.johnson/.gitattributes
[difftool "sourcetree"]
[mergetool "sourcetree"]
[user]
name = Corban Johnson
email = [email protected]
[merge]
tool = vimdiff
conflictstyle = diff3
[color]
ui = auto
interactive = auto
[format]
pretty = format: '%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
[alias]
# df shows files differing between head and <ref>. Expects a <ref> argument.
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
back = checkout -
d = diff --color-words
# df shows files differing between head and <ref>. Expects a <ref> argument.
df = diff --name-only
egrep = grep -E
l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
ll = log --stat --abbrev-commit
recap = log --all --oneline --no-merges [email protected]
refresh = !git remote update --prune && git pull
tidyremotes = !bash -c 'git branch -r | awk \"{print \\$1}\" | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk \"{print \\$1}\" | xargs git branch -d'
[http]
sslVerify = false
[credential]
helper = osxkeychain
[push]
default = current
[stash]
showPatch = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[diff]
submodule = log
[pull]
rebase = false