步骤:两步
(1)先把之前关联的git清除掉
git remote rm origin
(2)再关联新的地址
git remote add origin 地址
成功~
其他扩展命令:
(1)查看现在的关联地址,可判断是否关联成功
git remote -v
有个问题:
出现这个问题是因为关联的是http 的,把地址改成git的就好了
步骤:两步
(1)先把之前关联的git清除掉
git remote rm origin
(2)再关联新的地址
git remote add origin 地址
成功~
其他扩展命令:
(1)查看现在的关联地址,可判断是否关联成功
git remote -v
有个问题:
出现这个问题是因为关联的是http 的,把地址改成git的就好了