Forums

can't deploy from GitHub

I have github repository. Create new personal access token classic.

Pythonanywhere: open bash, try to clone my repository

13:26 ~ $ git clone https://github.com/mokinys12/kspc<br>
Cloning into 'kspc'...<br>
Username for 'https://githubmokinys12<br>
Password for 'https://mokinys12@github.com':  ###wrote my github pass<br>
remote: Support for password authentication was removed on August 13, 2021.<br>
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for inf
ormation on currently recommended modes of authentication.<br>
fatal: Authentication failed for 'https://github.com/mokinys12/kspc/'<br>
13:31 ~ $ git clone https://github.com/mokinys12/kspc<br>
Cloning into 'kspc'...<br>
Username for 'https://github.com': mokinys12<br>
Password for 'https://mokinys12@github.com': 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  ### token<br>
remote: Invalid username or password.<br>
fatal: Authentication failed for 'https://github.com/mokinys12/kspc/'<br>
13:32 ~ $ git clone https://github.com/mokinys12/kspc<br>
Cloning into 'kspc'...<br>
Username for 'https://github.com': mokinys12<br>
Password for 'https://mokinys12@github.com': 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  ###new token<br>
remote: Invalid username or password.<br>
fatal: Authentication failed for 'https://github.com/mokinys12/kspc/'<br>

What I must to do? What I make wrong?

[edit by admin: formatting]

That all looks OK to me, at least after the first try with your regular password. Perhaps there will be information or links on the GitHub tech support pages where you can get help?