-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
53 lines (51 loc) · 1.87 KB
/
gitconfig
File metadata and controls
53 lines (51 loc) · 1.87 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
[user]
name = Ankur Sinha (Ankur Sinha Gmail)
email = sanjay.ankur@gmail.com
signingkey = E629112D
[color]
status = auto
ui = auto
[push]
default = tracking
[alias]
lg = !"git lg1"
lg1 = !"git lg1-specific --all"
lgs1 = !"git lg1-specific --all --simplify-by-decoration"
lg2 = !"git lg2-specific --all"
lgs2 = !"git lg2-specific --all --simplify-by-decoration"
lg3 = !"git lg3-specific --all"
lgs3 = !"git lg3-specific --all --simplify-by-decoration"
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
lgdiff = !"git lg1-specific \"$1\"...\"$2\""
[sendemail]
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = sanjay.ankur@gmail.com
[core]
pager = less -r
excludesfile = /home/asinha/.gitignore_global
editor = vim
[gpg]
program = gpg2
[commit]
gpgsign = true
[merge]
tool = vimdiff
conflictStyle = diff3
[mergetool]
prompt = false
[pull]
rebase = false
[init]
defaultBranch = main
[credential]
helper = libsecret
[lfs]
concurrenttransfers = 3
[lfs "customtransfer.xet"]
path = git-xet
args = transfer
concurrent = true