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

Setting Git author details for a single repo (Git)
Checking Virtual Machine Resource Allocations with Libvirt (BASH)
Rsync over SSH with a custom port (BASH)
Remotely backing up PFsense Configuration (BASH)
FFMPEG: Converting RMVB to X264 MP4 (BASH)
Recursively print table (print_r equivalent) (LUA)
Bulk Delete Comments from (Self-Hosted) JIRA Issues (Misc)
Add a static entry to the ARP table (BASH)
SSL Cipher Hex codes to Human Readable Names (Misc)
Convert Ascii to Binary (BASH)

Copyright © 2019 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and snippets.6zdgh5a5e6zpchdz.onion