1.根据github官方文档生成ssh,将ssh加入ssh-agent并复制到github个人settings中
2.根据github官方文档 更改已有的Repositories的remote方式。
$git remote set-url origin git@github.com:USERNAME/OTHERREPOSITORY.git
1.根据github官方文档生成ssh,将ssh加入ssh-agent并复制到github个人settings中
2.根据github官方文档 更改已有的Repositories的remote方式。
$git remote set-url origin git@github.com:USERNAME/OTHERREPOSITORY.git