RetroFed Forums
Your home away from modern life.
Gitas – A tool for Git account switching
Post Reply
AuthorMessage
RSS Bot Bot rssbot@lemmy.bestiver.se
Joined: 2024-09-11
Quote

Comments

2   Original
Arthur Besse lemmy.ml cypherpunks@lemmy.ml
Joined: 2022-01-17
#2 · (edited) Quote Reply

frequently changing one's global git author config seems like a recipe for making mistakes. when using multiple git identities in the same environment, it's better to use per-checkout configs so that you always use the correct one: git config --local user.name User; git config --local user.email user@example.com will write these settings to the checkout's .git/config.

2
Post Reply
Back to top