git remote
git remote 命用于在远程仓库的操作。
# 显示所有远程仓库
$ git remote -v
# 显示某个远程仓库的信息
git remote show [remote]
# 添加远程版本库
git remote add [shortname] [url]
# 删除远程仓库
git remote rm name
# 修改仓库名
git remote rename old_name new_name
最后更新于
这有帮助吗?
git remote 命用于在远程仓库的操作。
# 显示所有远程仓库
$ git remote -v
# 显示某个远程仓库的信息
git remote show [remote]
# 添加远程版本库
git remote add [shortname] [url]
# 删除远程仓库
git remote rm name
# 修改仓库名
git remote rename old_name new_name
最后更新于
这有帮助吗?