-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
executable file
·45 lines (34 loc) · 1.06 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
# This is Git's per-user configuration file.
[user]
name = Abhishek Singh
email = [email protected]
signingkey = 3D0D436D26266392
[core]
editor = nvim
autocrlf = input
[diff]
tool = vimdiff
[difftool "vimdiff"]
cmd = "nvim -d $LOCAL $REMOTE"
[color]
ui = auto
[merge]
conflictstyle = diff3
tool = "nvim"
[mergetool]
keepBackup = false
prompt = false
[mergetool "nvim"]
cmd = "nvim -d $LOCAL $BASE $REMOTE $MERGED -c 'wincmd W | wincmd J'"
[alias]
lga = 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(bold yellow)%d%C(reset)' --all
lgb = 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 yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lga"
unstage-all = restore --staged .
unstage = restore --staged
[credential]
helper = store
[init]
defaultBranch = main
[commit]
gpgsign = true