feat: seperate gitconfig into multiple files
This commit is contained in:
16
.gitignore
vendored
16
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
21
git/config
21
git/config
@@ -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>\"
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user