git - 如何通过命令行压缩和 merge Pull Request 与 GPG 签名?

标签 git github pull-request gpg-signature

https://help.github.com/articles/about-pull-request-merges/#squash-and-merge-your-pull-request-commits

有没有办法通过命令行压缩和 merge Pull Request 与我的 GPG 签名?在 UI 上 merge pull 请求不支持 GPG 签名。我尝试通过 git merge --squash 进行 merge ,但它不会自动关闭 Pull Request。

最佳答案

Squash and merge your pull request commits ”是一个服务器端选项,实际上不支持 gpg 签名。

这意味着您需要:

这是一个手动且有些复杂的过程,但它会起作用。

关于git - 如何通过命令行压缩和 merge Pull Request 与 GPG 签名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49879963/

相关文章:

git - 发送特定文件夹的 pull 请求?

git - 每个 git commit/git stash 都要求我输入密码

git - 如何允许团队成员在 Github 上上传他们对项目特定部分的贡献?

windows - git-cola 不会在 Windows 上运行

python - 使用 API REST 创建的 GitHub secret 但返回空

git - 使用 github 批量更改 git 上的电子邮件地址

git - 从 git 恢复特定的提交

git - 如何在 Jenkins 作业中克隆 github 组织的私有(private)存储库

github - 如何设置从 bash 传入的 GitHub 拉取请求的构建状态?

git - 显示有关 git commit 'without diff' 但 'with' 文件的信息