I am busy setting up a bioinformatic pipeline, and uploaded it on Github using git push. I generated an access token to access my directory without using a password (which is outdated anyway). The first time I use the command below, the git push is flawless.
git init git add . git commit -m "first commit" . git remote add origin https://github.com/<GITHUB_USERNAME>/<REPOSITORY_NAME>.git git push https://<GITHUB_ACCESS_TOKEN>@github.com/<GITHUB_USERNAME>/<REPOSITORY_NAME>.git
However, using this last git push command afterward generate a password prompt, and of course the authentication fail afterward.
Password for 'https://<GITHUB_ACCESS_TOKEN>@github.com': 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.
Curiously, the webpage indicated above fail to mention tokens and their use. Are they outdated as well?