-
Notifications
You must be signed in to change notification settings - Fork 63.6k
Closed as not planned
Labels
SME reviewedAn SME has reviewed this issue/PRAn SME has reviewed this issue/PRauthenticationContent relating to authenticationContent relating to authenticationcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teammore-information-neededMore information is needed to complete reviewMore information is needed to complete reviewstaleThere is no recent activity on this issue or pull requestThere is no recent activity on this issue or pull request
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
Telling Git about your SSH key
I believe it should mention adding
gpg.ssh.allowedsignersfile=/path/to/.config/git/allowed_signers
Otherwise, git
would complain that
error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification
And in case rules
were set, in a project settings > rules > rulesets
, github will refuse push
Require signed commits
Commits pushed to matching refs must have verified signatures.
remote: - Commits must have verified signatures.
remote: Found 1 violation:
remote:
remote: bd96ff44bfa007357c164fb564b3fdd781b31322
remote:
To github.com:just/a-repo.git
! [remote rejected] main -> main (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:just/a-repo.git'
Additional information
Related issue #28577
bric3, sughodke and emcd
Metadata
Metadata
Assignees
Labels
SME reviewedAn SME has reviewed this issue/PRAn SME has reviewed this issue/PRauthenticationContent relating to authenticationContent relating to authenticationcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teammore-information-neededMore information is needed to complete reviewMore information is needed to complete reviewstaleThere is no recent activity on this issue or pull requestThere is no recent activity on this issue or pull request