git之远程库管理(六)

来源:互联网 发布:linux创建文件 编辑:程序博客网 时间:2024/06/06 10:58

查看远程仓库

1.查看远程仓库(别名)

    git remote

2.查看远程仓库地址

    git remote -v

删除远程仓库别名

    git remote remove <远程库名>

添加远程仓库

    git remote add <远程库名> <远程库地址>

修改远程库名称

    git remote rename <旧名称> <新名称>
0 0
原创粉丝点击