Permission to {git-id}/{repository}.git denied to {other-git-id}.

·1 min read

root@############:/workspaces/{repository}# git push fatal: could not read Username for 'https://github.com': terminal prompts disabled fatal: could not read Username for 'https://github.com': terminal prompts disabled remote: Permission to {git-id}/{repository}.git denied to {other-git-id}. fatal: unable to access 'https://github.com/{git-id}/{repository}.git/': The requested URL returned error: 403

 

 

https://velog.io/@milkyway/git-remote-Permission-to-..-denied-to-error-403-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0%EB%B2%95

 

 

git remote set-url origin https://{token}@github.com/{git-id}/{repository}.git