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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to sign commits and add public key to GitHub #1

Merged
merged 1 commit into from
May 22, 2018

Conversation

karawoo
Copy link
Collaborator

@karawoo karawoo commented May 22, 2018

I wrote this as two functions: sign_commits_with_key() sets git to sign all commits with a GPG key, which it will generate if none is provided. gh_store_key() attempts to add the public key to the user's GitHub account. If they don't have a GitHub access token it will provide the public key in a message which the user can copy.

@karawoo karawoo requested a review from hrbrmstr May 22, 2018 22:19
@czeildi czeildi merged commit e4f8772 into czeildi:master May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants