I recently did a push to my GitHub repository for a few weeks ago. I got a main from GitHub that GitHub is soon quitting regular authorization and going to replace it with another authorization method.
So today I push a new update to my GitHub repository and got the message:
git-receive-pack not permitted
That's leads to two questions:
Since August 13, 2021, GitHub does not support authentication via HTTPS with your GitHub account password for security reasons anymore. Instead, in Eclipse, when pushing to a GitHub repository or when fetching from a private repository, you will get a git-upload-pack not permitted on 'https://github.com...'
error.
As solution, use either
GitHub repo token
origin
or the name you have chosen when you have cloned the repository) and choose Configure Push....ssh
of your user home directory<name>.pub
config
file change the remote URL as follows:url = https://github.com/<username>/<repo>.git
url = git@github.com:<username>/<repo>.git
See also: