forked from kusold/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
66 lines (65 loc) · 1.95 KB
/
gitconfig
File metadata and controls
66 lines (65 loc) · 1.95 KB
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
[user]
name = travisyoes
email = git@travisyoes.com
[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 bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[credential]
helper = cache
[merge]
tool = vimdiff
conflictstyle = diff3
[diff]
tool = meld
[difftool]
prompt = false
[difftool "webstorm"]
cmd = webstorm diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")
trustExitCode = true
[mergetool "webstorm"]
cmd = webstorm merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")
trustExitCode = true
[core]
autocrlf = input
legacyheaders = false
editor = vim
[gui]
fontdiff = -family Monaco -size 12 -weight normal -slant roman -underline 0 -overstrike 0
[repack]
usedeltabaseoffset = true
[alias]
ci = commit
co = checkout
st = status
br = branch
ch = cherry -v origin
mine = log --author=tyoes
spull = !git svn fetch && git svn rebase
spush = !git svn dcommit
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
prune-merged = !git branch --merged | grep -v \"\\*\" | xargs -n 1 git branch -d
subpull = !git submodule foreach git pull --tags origin master
history-search = "!git rev-list --all | xargs git grep"
[push]
default = simple
[url "git@github.com:"]
insteadOf = https://github.com/
[filter "remove-tokens"]
clean = "sed -e '/^_auth =.*/d' | sed -e '/^AuthSession =.*/d' | sed -e '/^expires =.*/d'"