-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
28 lines (26 loc) · 949 Bytes
/
.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
[user]
name = FelSt
email = 63238040+FeStein@users.noreply.github.com
[core]
excludesfile = ~/.gitignore_global
editor = vim
[alias]
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
tree = "log --all --graph --oneline --date=short --abbrev=commit --pretty=format:\"%C(yellow)%h%Creset%C(red)%C(bold)%d%Creset%C(white)(%cd)%Creset %s\""
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = master
#Obsidian git has git-lfs on /urs/bin but I installed it via homebrew, so it is
#located ad /usr/local/bin
[filter "lfs"]
process = /usr/local/bin/git-lfs filter-process
required = true
clean = /usr/local/bin/git-lfs clean -- %f
smudge = /usr/local/bin/git-lfs smudge -- %f
[pull]
rebase = true
ff = only