-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
85 lines (83 loc) · 1.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[include]
; user.email & sendemail.smtpUser
path = ~/.gitconfig.local
[user]
name = Sachin Patil
signingkey = 62AA06E2
[core]
abbrev = 12
autocrlf = input
editor = emacsclient -nw
excludesfile = ~/.gitignore_global
; Don't trust file modes
filemode = false
deltaBaseCacheLimit = 1G
ignorecase = true
[alias]
a = add
unstage = reset HEAD
u = add -u
co = checkout
br = branch
ci = commit
st = status
s = status -sb
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
last = log --pretty=format:\"%h - %an, %ar : %s\"
logg = log -p -l 2
loggg = log -p --format=fuller
logs = log --stat
df = diff
dfc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
ign = ls-files -o -i --exclude-standard
type = cat-file -t
dump = cat-file -p
[color]
ui = true
[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
[color "diff"]
whitespace = red reverse
[pretty]
fixes = Fixes: %h (\"%s\")
[commit]
template = ~/.gitmessage.txt
[http]
# postBuffer = 524288000
; proxy = http://10.101.11.108:3128
[push]
default = matching
[help]
autocorrect = 1
[log]
date = relative
[rerere]
enabled = true
[credential]
helper = store
[github]
user = psachin
[gitlab]
user = psachin
[gitreview]
username = psachin
[sendemail]
smtpEncryption = tls
smtpServer = smtp.gmail.com
smtpServerPort = 587
suppresscc = all