-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
83 lines (68 loc) · 1.96 KB
/
.gitconfig
File metadata and controls
83 lines (68 loc) · 1.96 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
74
75
76
77
78
79
80
81
82
83
[user]
name = Miguel Filipe
email = miguel.filipe@gmail.com
[alias]
ci = commit
co = checkout
st = status --short --branch
di = diff
br = branch
lg = log --graph --pretty=format:\"%Cred%h%Creset — %s %Cgreen(%cr)%Creset\" --decorate --oneline --date=relative
dt = diff-tree -p --color
dc = diff --cached
poh = push origin HEAD --force-with-lease
rbc = rebase --continue
mgt = mergetool
rom = !git fetch && git rebase origin/main
rim = !git fetch && git rebase -i origin/main
recent = for-each-ref --sort=-committerdate refs/heads/ --count=25 --format='%(color:red)%(objectname:short)%(color:reset) %(HEAD) %(color:yellow)%(refname:short)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset)) %(contents:subject)'
[branch]
autosetuprebase = always
[merge]
ff = no
tool = nvimdiff
[mergetool "nvimdiff"]
cmd = nvim -d "$REMOTE" "$BASE" "$LOCAL" -c '4wincmd w | wincmd J' "$MERGED"
[pull]
rebase = true
[core]
pager = delta
excludesfile = /Users/miguel/.gitignore
[delta]
navigate = true
line-numbers = true
side-by-side = false
[color]
diff = auto
status = true
diff-tree = true
branch = auto
[diff]
tool = nvim -d
[difftool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE
[difftool "vimdirdiff"]
cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off'
[gui]
fontui = -family \"Liberation Sans\" -size 12 -weight bold -slant roman -underline 0 -overstrike 0
[push]
default = tracking
autoSetupRemote = true
[branch]
autosetuprebase = always
[pull]
rebase = true
[credential]
helper = cache
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/
[url "ssh://git@bitbucket.org/"]
insteadOf = https://bitbucket.org/
[url "https://@github.com/"]
insteadOf = https://github.com/