Forums

Not able to push models and files to github

Hi there,

I am trying to push models and files that I have updated on my web app to GitHub but am getting errors.

I used "git push" in the bash console and it asked for a username and password. I used the token created in GitHub as the password. However, I got an error as follows:

"remote: Support for password authentication was removed on August 13, 2021.

remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

fatal: Authentication failed for 'https://github.com/user/project.git/'"

The same happens with I use the password instead of token as well.

Is there something wrong with this process? Is another/better way to push files to GitHub?

Using SSH keys could be an alternative. However, in both cases you should followe GitHub's docs to ensure you use proper credentials.