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 © 2019 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and snippets.6zdgh5a5e6zpchdz.onion