
git
luodao_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git指令
1.删除本地的远程分支:git branch -r -D origin/BranchName (BranchName为需要删除的分支名)未完待续。。。原创 2018-01-10 23:17:10 · 176 阅读 · 0 评论 -
Github的“致命:远程起源已经存在”
在使用Github 进入某个远程仓库操作时提示致命错误操作语句:$ git remote add origin https://github.com/luodao236/onceAgain.git报错提示:fatal: remote origin already exists.该错误消息表示,已经有一个远程具有相同名称的构成。所以,可以用不用的名称添加新的远程或更新现有的一个。原创 2018-01-12 10:40:08 · 3737 阅读 · 0 评论 -
Github 提交代码出现错误提示
错误提示:To https://github.com/luodao236/test.git ! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'https://github.com/luodao236/test.git'hint: Updates were r原创 2018-01-12 10:59:52 · 942 阅读 · 0 评论 -
删除git remote
目前项目中有两个remote$ git remote -vorigin https://github.com/luodao236/test.git (fetch)origin https://github.com/luodao236/test.git (push)test https://github.com/luodao236/onceAgain.git (fetch)te原创 2018-01-12 11:14:04 · 49744 阅读 · 1 评论