Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] cz-git CLI czg suport use GPG sign commit message #58

Closed
Zhengqbbb opened this issue Aug 18, 2022 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request next version Plan for next version

Comments

@Zhengqbbb
Copy link
Owner

Zhengqbbb commented Aug 18, 2022

馃挱 Describe the feature

cz-git CLI czg suport use GPG sign commit message

what is GPG and how to set GPG sign

https://withblue.ink/2020/05/17/how-and-why-to-sign-git-commits.html

github docs link:

https://docs.github.com/cn/articles/generating-a-new-gpg-key
https://docs.github.com/articles/signing-commits-using-gpg

gitlab docs link:

https://docs.gitlab.com/ee/user/project/repository/gpg_signed_commits/

gitee docs link:

https://gitee.com/help/articles/4248#article-header0

馃挕 Proposed Solution

TIP:

only support czg cz-git cli

Usage

  • provide switch option useCommitSignGPG
    finally change command:
    git commit -m "..."
    =>
    git commit -S -m "...."

  • cli add subcmd gpg
    : no-config turn on commit Sign GPG mode

@Zhengqbbb Zhengqbbb added the enhancement New feature or request label Aug 18, 2022
@Zhengqbbb Zhengqbbb self-assigned this Aug 18, 2022
@Zhengqbbb Zhengqbbb added the next version Plan for next version label Aug 18, 2022
Zhengqbbb added a commit that referenced this issue Aug 20, 2022
1. can turn on option `useCommitSignGPG`
2. run command `czg gpg`: no-configure use GPG sign commit message

link #58

Co-authored-by: Zhengqbbb <1074059947@qq.com>
@Zhengqbbb
Copy link
Owner Author

猸愶笍 v1.3.11 猸愶笍 has been released 馃コ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next version Plan for next version
Projects
None yet
Development

No branches or pull requests

1 participant