Шпаргалка по GitHub
Аутентификация в консоли
При выполнении консольных команд git clone
, git fetch
, git pull
, или git push
с использованием HTTPS-ссылки на репозитория, Git will запросит имя пользователя (GitHub username) и пароль (password).
Вместо пароля нужно ввести PAT (personal access token). Сгенерировать PAT можно здесь: https://github.com/settings/tokens/new
Alternatively, you can use a credential helper like Git Credential Manager . Password-based authentication for Git has been removed in favor of more secure authentication methods. For more information, see Managing your personal access tokens .
Support for password authentication was removed on August 13, 2021. Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.