-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
42 lines (42 loc) · 1009 Bytes
/
.gitconfig
File metadata and controls
42 lines (42 loc) · 1009 Bytes
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
# http://raphael.kallensee.name/journal/how-to-setup-git-and-git-aliases/
# https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
[push]
default = simple
[user]
name = EFU
email = efries@inetpeople.net
[alias]
co = checkout
st = status
unstage = reset HEAD --
aa = !git add -u && git add . && git status
ci = commit -a
[core]
editor = nvim
filemode = false
excludesfile = /Users/efu/.gitignore_global
autocrlf = false
safecrlf = true
[credential]
helper = osxkeychain
[color]
ui = auto
[merge]
tool = nvim -d
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[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
[commit]
template = /Users/efu/.stCommitMsg
[safe]
directory = /opt/homebrew