git remote 常用操作

修改远程仓库的名称
1
2
3
4

git remote rename [oldName] [newName]

git remote rename origin github
查看远程仓库的信息
1
2

git remote show origin
修改远程仓库的地址
1
git config remote.origin.url
Licensed under CC BY-NC-SA 4.0
Git 系列 Git 命令

《Git 命令》系列文章

Built with Hugo
Theme Stack designed by Jimmy