-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
40 lines (34 loc) · 1.16 KB
/
Copy pathdot_gitconfig
File metadata and controls
40 lines (34 loc) · 1.16 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
[user]
name = Irwin D'Souza
email = dsouzai.gh@gmail.com
[core]
editor = nvim
autocrlf = input
safecrlf = false
[alias]
l = log --oneline --pretty=sparselog --abbrev-commit --graph --decorate --all
lme = log --oneline -n20 --pretty=sparselog --abbrev-commit --graph --decorate
linf = log --oneline --pretty=sparselog --abbrev-commit --graph --decorate
fixup = !sh -c 'git add . && git commit --fixup $@' -
squash = rebase -i --autosquash
[pretty]
sparselog = %C(auto,red)%h%C(auto,reset) -%C(auto)%d %C(auto,reset)%s %C(auto,green)<%an> %C(auto,reset)%C(auto,cyan)(%ad)%C(auto,reset)
[diff]
# tool = BCompare.exe
# tool = code
tool = nvim
[difftool "BCompare.exe"]
cmd = BCompare.exe $(wslpath -aw "$LOCAL") $(wslpath -aw "$REMOTE")
keepTemporaries = false
trustExitCode = false
keepBackup = false
[difftool "code"]
cmd = code --wait --diff "$LOCAL" "$REMOTE"
keepTemporaries = false
trustExitCode = false
keepBackup = false
[difftool "nvim"]
cmd = nvim -d "$LOCAL" "$REMOTE"
keepTemporaries = false
trustExitCode = false
keepBackup = false