LinuxCommandLibrary

git-blame-someone-else

Rewrite commit authorship (for fixing attribution errors)

TLDR

Blame someone else

$ git blame-someone-else "[Author Name] <email@example.com>" [commit]
copy
Change author of last commit
$ git blame-someone-else "[Name] <email>" HEAD
copy
Change author of specific commit
$ git blame-someone-else "[Name] <email>" [abc123]
copy

SYNOPSIS

git blame-someone-else author commit

DESCRIPTION

git blame-someone-else is a humorous git-extras command that rewrites a commit's author. Despite the playful name, it serves legitimate purposes like fixing incorrect author attribution.
The command uses git's commit amendment capabilities to change the author while preserving other commit metadata. It rewrites history, creating a new commit with the same changes but different authorship.
Despite the humorous name, it has legitimate uses such as correcting author information when commits were made with misconfigured user settings or from a shared development environment.

PARAMETERS

AUTHOR

New author in "Name <email>" format.
COMMIT
Commit hash to modify.
--help
Display help information.

CAVEATS

Rewrites history. Don't use on shared branches. The name is a joke; use responsibly for fixing attribution errors.

HISTORY

git blame-someone-else is part of git-extras, created as a humorous addition to the toolkit while serving legitimate commit repair needs.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community