feat: seperate gitconfig into multiple files

This commit is contained in:
Matej Janezic 2023-06-14 12:37:29 +02:00
parent 64529e8fd2
commit 02892635c8
Signed by: janezicmatej
SSH Key Fingerprint: SHA256:3vE2ixAKI8uRNhob5xDwoa9mMPUsxsM4QRHNcPuMHew
2 changed files with 17 additions and 20 deletions

16
.gitignore vendored
View File

@ -7,17 +7,23 @@
!README.md !README.md
# allow some stuff to be pushed # allow some stuff to be pushed
!tmux
!git
!alacritty !alacritty
!nvim !nvim
!zsh
!.pyenv !.pyenv
# explicity ignore completions # zsh
!zsh
zsh/antigen.zsh zsh/antigen.zsh
zsh/completions/* zsh/completions/*
!zsh/completions/.keep !zsh/completions/.keep
# explicity ignore tmux plugins # tmux
!tmux
tmux/plugins tmux/plugins
# git
!git
git/*
!git/config
!git/gitignore
!git/aflabs

View File

@ -1,25 +1,16 @@
[user] [user]
name = Matej Janežič name = Matej Janežič
email = janezic.mj@gmail.com email = janezic.mj@gmail.com
signingkey = 4298E230ED37B2C0
[core] [core]
autocrlf = input autocrlf = input
excludesfile = ~/.config/git/gitignore excludesfile = ~/.config/git/gitignore
editor = nvim editor = nvim
[includeIf "gitdir:~/Desktop/git/git.aflabs.org/"]
path = ~/.config/git/aflabs
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
[init] [init]
defaultBranch = master defaultBranch = master
[alias] [include]
andraz = commit --amend --no-edit --author=\"Andraž Kladnik <andraz.kladnik@aflabs.si>\" path = ~/.config/git/alias
petra = commit --amend --no-edit --author=\"Petra Podlogar <petra.podlogar@aflabs.si>\" [include]
ziga = commit --amend --no-edit --author=\"Žiga Avbreht <ziga.avbreht@aflabs.si>\" path = ~/.config/git/commitsign
laura = commit --amend --no-edit --author=\"lauraGB <laura.guzelj.blatnik@aflabs.si>\" [includeIf "gitdir:~/Desktop/git/git.aflabs.org/"]
gasper = commit --amend --no-edit --author=\"Gašper Žajdela <gasper.zajdela@aflabs.si>\" path = ~/.config/git/aflabs
luka = commit --amend --no-edit --author=\"Luka Avbreht <luka.avbreht@aflabs.si>\"
koprivec = commit --amend --no-edit --author=\"Filip Koprivec <filip.koprivec@aflabs.si>\"