git commit fixes the authorship of the environment itself
LoserFox/dsh-git-identity · tools
DSH plug-in: git submits a fixed usage environment with its own authorship (gh CLI login account is preferred, GitHub noreply email), GITAUTHOR/GITCOMMITTER environment variable injection overrides all git config
★ 7GitHub stars
0Forks
2026-08-13Last updated
JavaScriptLanguage
—License
Key features
- DSH profile bundle (the official plug-in system of 0812+): Let all git commits generated within DSH use the authorship of the environment itself.
- The DSH agent session executes git commit through the bash tool.
- You can configure it here when you are not logged in to gh) 2.
- First, read the login account of gh CLI (name is login, and email is GitHub noreply address + @users.noreply.github.com), and then start the GIT_AUTHOR_ and git config --global of the environment.
- Historically, once a session explicitly -c user.name="DSH Agent" or changed the git configuration, subsequent commits would have the wrong author.
Install command
dsh plugin --profile web add github:LoserFox/dsh-git-identity