git 命令合集 没事给自己看的

发布时间 2023-09-04 11:11:05作者: 孤独斗士

git remote 命令

 

 git remote -v  作用是显示所有远程仓库

 

 git remote show xx (xx为远程地址的别名) 显示某个远程仓库的信息

 

git remote add [name] [url]  作用是添加远程版本库

 

git remote rm name 

 

git remote rename old_name new_name