feat(git): switch to $XDG_CONFIG_HOME/git/
This commit is contained in:
parent
4d3ef27cd2
commit
21f499d6de
3 changed files with 41 additions and 32 deletions
|
|
@ -1,7 +1,3 @@
|
|||
[user]
|
||||
name = Oliver Ladner
|
||||
email = waste@lugh.ch
|
||||
|
||||
[core]
|
||||
editor = nvim
|
||||
|
||||
|
|
@ -29,4 +25,12 @@
|
|||
[init]
|
||||
defaultBranch = main
|
||||
[merge]
|
||||
conflictstyle = diff3
|
||||
conflictstyle = diff3
|
||||
|
||||
# Set a correct user.name and user.email for work projects
|
||||
[includeIf "gitdir:~/git/work/"]
|
||||
path = ~/git/work/gitconfig
|
||||
|
||||
# Set a correct user.name and user.email for personal projects
|
||||
[includeIf "gitdir:~/git/lugh/"]
|
||||
path = ~/git/lugh/gitconfig
|
||||
5
.config/git/ignore
Normal file
5
.config/git/ignore
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Global gitignore - things to ALWAYS ignore
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.vscode
|
||||
.idea
|
||||
Loading…
Add table
Add a link
Reference in a new issue