Git clone not working

njy@njy:~/catkin_ws/src$ git clone https://github.com/■■■■■■■■■■■■■■■■
Cloning into '■■■■■■■■■'...
Username for 'https://github.com': ■■■■■
Password for 'https://■■■■■■■■■■■■■■': 
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/■■■■■■■■■■■■■■■■'

The error message said that passward not working anymore and I shoud use personal access token. What should I do?

You need to create a Personal Access Token, Github does not allow password authentication anymore since August 13

You can log in via ssh too which for me is the best approach (if it’s your own computer of course).

Cheers.

1 Like