Setting Git author details for a single repo



Published: 2019-02-06 11:48:56 +0000
Categories: Git,

Language

Git

Description

Occasionally you might want to use slightly different author details for a single repo (for example when working from home). This snippet details the straightforward method of doing that

Snippet

# Note ommission of the --global you'd normally use
git config user.email "me@example.com"
git config user.name "Me Obviously"

Keywords

git, author, email, set, repository, repo,

Latest Posts


Copyright © 2022 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk, http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion and http://snippets.bentasker.i2p
hit counter