Created
January 18, 2024 06:34
-
-
Save scheibome/7db928e76e268ecd65b6787715e4d711 to your computer and use it in GitHub Desktop.
git-user-split
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deine Basis in der .gitconfig | |
[user] | |
name = Dein Name | |
email = deineprivate@email.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Die smarte Umschaltung in deiner globalen .gitconfig | |
[includeIf "gitdir:~/code/work/"] | |
path = ~/code/work/.gitconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dein berufliches Profil in der ~/code/work/.gitconfig | |
[user] | |
email = deineberufliche@email.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment