-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
43 lines (42 loc) · 1.21 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
[user]
email = [email protected]
name = Siddhartha Sahu
[help]
autocorrect = 1
[alias]
ls = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit
lsa = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit --all
ll = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit --all --numstat
cmau = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend
dm = diff master
co = checkout
bd = branch -d
bdf = branch -D
[sendemail]
from = Siddhartha Sahu <[email protected]>
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = [email protected]
smtppass =
chainreplyto = false
[push]
default = simple
[color]
ui = auto
[credential]
helper = cache
[pull]
rebase = true
[init]
defaultBranch = main
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[merge]
conflictstyle = diff3