GitHub不再支持密码验证解决方案:SSH免密与Token登录配置

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 info

  1. 配置ssh key
    https://docs.github.com/cn/github/authenticating-to-github/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

  2. 配置好后,记住,你项目得使用 SSH clone


    image.png

执行: git remote set-url origin [email protected]:4paradigm/AutoX.git

你可能感兴趣的:(GitHub不再支持密码验证解决方案:SSH免密与Token登录配置)