T
T
Trafalgar2022-03-25 14:38:50
git
Trafalgar, 2022-03-25 14:38:50

How to properly clone a private github repository?

Good time.
Faced one problem. I created a private repository on githab, and when cloning or pooling, it asks for a login and password. I enter the data from the github but it says that the data is incorrect. What data should be entered there? Maybe they are created somewhere in the repository settings?

[email protected]:/home/work/project_bot# git pull
Username for 'https://github.com': manjaro21
Password for 'https://[email protected]': 
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/manjaro21/activate_bot/'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Khokhlov, 2022-03-25
@manjarosan

Well it's written right there

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

D
Drno, 2022-03-25
@Drno

Why can't people who write software just read the error...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question