-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.gitconfig
More file actions
48 lines (48 loc) · 1.24 KB
/
.gitconfig
File metadata and controls
48 lines (48 loc) · 1.24 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
[user]
email = phelipe_teles@hotmail.com
name = "Phelipe Teles"
[commit]
verbose = true
[core]
pager = delta
editor = nvim
attributesfile = ~/.gitattributes
[merge]
tool = nvimdiff
[mergetool "vscode"]
cmd = code --wait --merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
[push]
default = current
[rebase]
autosquash = true
autoStash = true
[blame]
date = relative
[alias]
co = checkout
st = status
rh = reset --hard
rs = reset --soft
rr = reset --mixed
recent = branch --sort=-committerdate
undo = reset --soft HEAD^
recommit = commit --reedit-message ORIG_HEAD
track = branch --set-upstream-to
difft = -c diff.external=difft diff
pushf = push --force-with-lease
[credential]
helper = cache
[credential "https://github.com"]
username = phelipetls
[includeIf "gitdir:~/work/"]
path = ~/work/.gitconfig
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = true
[diff]
colorMoved = default