本文共 338 字,大约阅读时间需要 1 分钟。
1、切换远程仓库地址:
【git remote set-url origin URL】
2、方式二:先删除远程仓库地址,然后再添加
【git remote rm origin】 删除现有远程仓库
【git remote add origin url】添加新远程仓库
3、
【git remote -v 】查看远程仓库的地址
git提交相关
git add .git commit -mgit log 查看是否成功
git branch [分支名] 创建分支
git branch 查看本地所有分支 git checkout [分支名称] 切换分支 ---写代码--- git status (查看文件改变记录)转载地址:http://rktkx.baihongyu.com/