r studo set up in Git config
gitcreds::gitcreds_set()
-> Your current credentials for 'https://github.com':
protocol: https
host : github.com
username: Manikandanramaraj2008
password: <-- hidden -->
-> What would you like to do?
1: Abort update with error, and keep the existing credentials
2: Replace these credentials
3: See the password / token
Selection: 2
-> Removing current credentials...
? Enter new password or token: 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
-> Adding new credentials...
-> Removing credentials from cache...
-> Done.
gitcreds_get()
protocol: https
host : github.com
username: Manikandanramaraj2008
password: <-- hidden -->
gh::gh_whoami()
{
"name": "manikandan 2008",
"login": "Manikandanramaraj2008",
"html_url": "Manikandanramaraj2008 (manikandan 2008) ยท GitHub",
"scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, copilot, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
"token": "ghp_...cFIm"
The Error i have got during commit in r studio, as below
C:/Program Files/Git/bin/git.exe commit -F C:/Users/maniv/AppData/Local/Temp/Rtmpgz4sSq/git-commit-message-22448477058.txt --amend --gpg-sign
error: cannot spawn gpg2: No such file or directory
error: gpg failed to sign the data
fatal: failed to write commit object
pls help me to resolve
Thanks,
K.R.Manikandan