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

出处:https://cloud.tencent.com/developer/article/1861466

git修改远程仓库地址,方法有三种:

  1. 修改命令
    git remote origin set-url [url]
  2. 先删后加
    git remote rm origin
    git remote add origin [url]
  3. 直接修改config文件
    在git文件夹里,找到config,编辑,把旧的项目地址替换成新的。
原文地址:https://www.cnblogs.com/cag2050/p/15329217.html