forked from arthur404dev/old-dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
73 lines (55 loc) · 1.61 KB
/
.gitconfig
File metadata and controls
73 lines (55 loc) · 1.61 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[user]
name = Maurício Bruno
email = mb.bruno.s@gmail.com
[commit]
gpgsign = false
[pull]
rebase = true
[push]
default = current
autoSetupRemote = true
[core]
editor = vi
pager = delta
[interactive]
diffFilter = delta --color-only
[include]
path = ~/.config/delta/themes/catppuccin.gitconfig
[delta]
line-numbers = true
features = catppuccin-mocha
[init]
defaultBranch = main
[alias]
spush = push --recurse-submodules=on-demand
supdate = submodule update --remote --merge
sdiff = !"git diff && git submodule foreach 'git diff'"
lg1 = 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
lg2 = 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 lg1"
exec = "!exec "
root = rev-parse --show-toplevel
undo = reset --soft HEAD^
[submodule]
summary = short
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[color]
ui = auto
[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
[url "ssh://git@github.com/"]
insteadOf = https://github.com/