Skip to main content
  1. Tags/

git

2022


Information Pro Repository Revisited

·50 words·1 min
Nach dem ich im Artikel information per repository schon einen Weg beschrieben habe, wie dies möglich ist. Habe ich inzwischen einen sehr viel eleganteren Weg gefunden. Man kann in der . git/config mit includeIf auch die Konfiguration dynamisch laden. [user] [includeIf "gitdir:~/projects/private/"] path = ~/projects/private/.gitconfig [includeIf "gitdir:~/projects/work/"] path = ~/projects/work/.gitconfig

2017


Set git information per repository

·48 words·1 min
Normally your git information like author name and e-mail address are stored in ~/.git.config. But you can set the information also for a repository with the following commands in the repository git config user.name Sven git config user.email sven.winkelmann@blue1.at With git config -l you can verify your change.