LoserFox/dsh-git-identity7

@loserfox/git-identity

DSH profile bundle:git 提交固定使用环境自身作者身份(优先 gh CLI 登录账号,GitHub noreply 邮箱),GIT_AUTHOR_*/GIT_COMMITTER_* 环境变量注入压过一切 git config

AI 분석

核心用途是规范智能体在执行 Git 提交时的作者信息。适合需要确保智能体提交的代码正确关联到指定 GitHub 账号或 noreply 邮箱,避免身份混乱的团队。

패키지
@loserfox/git-identity
버전
0.1.0
최근 업데이트
2026. 8. 13.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LoserFox/dsh-git-identity

配置


# 在 bundle 的 patch 里给行加 config(可选;不配置则按上述优先级自动解析)
- insert:
    - id: git-identity
      name: '@loserfox/git-identity'
      config:
        name: LoserFox
        email: 57448027+LoserFox@users.noreply.github.com

开发

编辑 index.mjs 后无需构建(纯 ESM,零依赖)。package.jsondsh.bundle.patch 声明本包是一个 profile bundle;cordis.patch.yml 是它贡献的 组合层。