-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
83 lines (82 loc) · 1.77 KB
/
.gitconfig
File metadata and controls
83 lines (82 loc) · 1.77 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 = Nicolas Baptista
email = nicolas@nbap.com.br
signingkey = E7A69BB35F6D04A4
[color]
ui = true
interactive = auto
[alias]
d = describe
df = difftool
s = status
b = branch
cm = commit -m
cma = commit --amend
psf = push --force
ckb = checkout -b
ckt = checkout -t
ckf = checkout -f
rb = rebase
rbc = rebase --continue
rbs = rebase --skip
rba = rebase --abort
swm = switch main
a = !git add . && git status
au = !git add -u . && git status
aa = !git add . && git add -u . && git status
l = log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
ll = log --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %cr%Creset'
fa = fetch --all
fr = !git fetch --all && git rebase origin/main
clean = fetch origin --prune
[github]
user = nbap
[push]
default = simple
autoSetupRemote = true
followTags = true
[core]
editor = nano
whitespace = trailing-space
excludesfile = /Users/nbap/.gitignore_global
autocrlf = input
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[pull]
rebase = true
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[pager]
branch = false
[init]
defaultBranch = main
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[commit]
verbose = true
[help]
autocorrect = prompt
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[fetch]
prune = true
pruneTags = true
all = true