Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Prompt to choose gpgsign key on setup

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
git, rust
领域
cli

调研方向

未指定任何文件、测试或实现入口。首先检查现有的 CLI 命令和设置流程,然后确定应如何表示 repository 路径、分支、标签、GPG 签名模式和秘密密钥选择;完成意味着所列出的设置以及针对特定分支或标签的使用都能明确无歧义地工作。

由索引模型根据 Issue 内容生成。

描述

enhancement meta

Implementation

  • Multiselect which operation to use gpgsign
git config push.gpgsign if-asked
git config commit.gpgsign true
git config tag.gpgsign true
  • Select signingkey from list-secret-keys
gpg --list-secret-keys --keyid-format long
git config user.signingkey 0123346789ABCDEF
git config user.name Spam Killer
git config user.email spamkiller@dispossable.email

Usage

  • Automatic from url or path
git setup https://github.com/cli/cli

# or for existing repo
git setup

# works with multiple repos too
git setup ~/Projects/OSS/{ repo1, repo2 }
  • Manual on specific branches and/or tags
git setup --gpgsign hotfix/big-bug feature/branch
  • Support wildcards (handy for tags)
git setup --signingkey 'v3.0.0-[alpha|beta].*'
  • --gpgsign and --signingkey should be the same (to avoid confusion)
主要语言
Rust
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。