-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
65 lines (64 loc) · 1.31 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
[gui]
[gui]
[user]
name = Rajdeep
email = [email protected]
[color]
branch = auto
diff = auto
status = auto
ui = true
interactive = 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
[http]
sslVerify = false
[push]
default = simple
[mergetool "fugitive"]
cmd = gvim -f -c \"Gvdiff\" \"$MERGED\"
[merge]
tool = fugitive
ff = true
[branch]
autosetuprebase = always
[log]
decorate = true
color = auto
[alias]
logtree = log --graph --oneline --decorate --all
stash-unapply = git status stash show -p | git apply -R
d = difftool
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative --graph
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat --graph
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
checkout = !sh -c 'git stash; git stash apply; git checkout "$*"'
[core]
editor = gvim -f
autocrlf = input
whitespace = cr-at-eol
[gc]
auto = 1
[git-p4]
useClientSpec = 1
[diff]
tool = gvimdiff
[difftool]
prompt = false
[help]
autocorrect = 0
[commit]
verbose = true
[credential]
helper = cache