-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
81 lines (68 loc) · 1.91 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
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
74
75
76
77
78
79
80
81
[push]
default = simple
[pull]
ff = only
[user]
name = Carlisia Campos
email = [email protected]
signingkey = 6707B608DD1E41DDDF8A7FCEC23690E728F56717
[credential]
helper = osxkeychain
[alias]
co = checkout
oops = reset --hard 'HEAD@{1}'
forgot = commit --amend -C HEAD
lg = log --graph --abbrev-commit --decorate --date=relative --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
wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
reflog-detail = log -g --abbrev-commit --pretty=oneline
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
# tool = vimdiff
[mergetool "kdiff3"]
keepBackup = true
# path = /usr/local/bin/kdiff3
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
editor = nvim
excludesfile = ~/.gitignore_global
[interactive]
diffFilter = diff-so-fancy --patch
[init]
defaultBranch = main
[delta]
line-numbers = true
zero-style = dim syntax
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[http]
cookiefile = /Users/carlisiacampos/.gitcookies
[url "[email protected]:"]
insteadOf = https://github.com/
[url "[email protected]:"]
insteadOf = https://gitlab.com/
[filter "lfs"]
# First time:
# brew install git-lfs
# git lfs install
# Configure per repo when you have large files in your repository and/or a lot of binaries:
# https://mydeveloperplanet.com/2018/10/31/git-lfs-why-and-how-to-use/
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[gc]
autoDetach = false
[commit]
gpsign = true
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg