welcome to my blog
给远程仓库改了个名字, 本地仓库的信息没有改变, 需要先删除原来的仓库链接, 然后再添加新的仓库链接
显示远程仓库信息
git remote -v
结果
origin git@github.com:smallhaes/blog.git (fetch)
origin git@github.com:smallhaes/blog.git (push)
删除远程仓库
git remote remove <name>
具体地,
git remote remove origin
添加新的远程仓库
git remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=<fetch|push>] <name> <url>
具体地,
git remote add origin git@github.com:naruto/hinata.git