Skip to content

Commit

Permalink
refactor(git): update gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Jan 8, 2025
1 parent 04aa75c commit 9bcec32
Showing 1 changed file with 6 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .config/git/.gitconfig
Original file line number Diff line number Diff line change
@@ -1,36 +1,14 @@
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[user]
name = Oli Morris
email = [email protected]
[core]
excludesfile = /Users/Oli/.gitignore_global
autocrlf = false
safecrlf = false
editor = code -n -w
[push]
default = matching
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = false
[init]
defaultBranch = main
[delta]
line-numbers = true
[alias]
pr = "!f() { git fetch -fu ${2:-origin} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
[credential]
helper =
helper = /usr/local/share/gcm-core/git-credential-manager
[credential "https://dev.azure.com"]
[credential "https://github.com"]
useHttpPath = true
[core]
excludesfile = /Users/Oli/.gitignore_global
editor = nvim
[init]
defaultBranch = main

0 comments on commit 9bcec32

Please sign in to comment.