-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
executable file
·40 lines (40 loc) · 910 Bytes
/
.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
[user]
name = Ryan M
[credential]
helper = osxkeychain
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = cyan
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
autocrlf = input
safecrlf = true
[fetch]
prune = true
[alias]
co = checkout
com = commit
st = status
br = branch
prunetags = fetch --prune --prune-tags --verbose
hist = log --pretty=format:'%h %ad | %s [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
dsf = "!f() { [ -z "$GIT_PREFIX" ] || cd "$GIT_PREFIX" && git diff --color "$@" | diff-so-fancy | less --tabs=4 -RFX; }; f"
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[init]