← 返回命令列表

Linux command

git-blame-someone-else 命令

文件

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Blame someone else

git blame-someone-else "[Author Name] <email@example.com>" [commit]

Change author of last commit

git blame-someone-else "[Name] <email>" HEAD

Change author of specific commit

git blame-someone-else "[Name] <email>" [abc123]

说明

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.

参数

--help
Display help information.

FAQ

What is the git-blame-someone-else command used for?

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.

How do I run a basic git-blame-someone-else example?

Run `git blame-someone-else "[Author Name] <email@example.com>" [commit]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in git-blame-someone-else?

Display help information.