现在公司使用的是svn,然而,技多不压身,现在学习一下github

http://blog.csdn.net/llf369477769/article/details/51917557这篇博客总结的很详细,但是有一个小小问题,就是,当我push本地仓库时,出现了错误

! [rejected] master -> master (fetch first)
error: failed to push some refs to 'git@github.com:YZJTMAC/VideoPlayer'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

这是因为我本地没有README.md这个文件的原因,百度了一下,加上一句

git pull --rebase origin master

解决!

以后有关git有关的东西我都会保存在这里

进入不同的仓库http://blog.csdn.net/dengjianqiang2011/article/details/9260435

最新文章

  1. CapsLock与ctrl的键位修改
  2. Linux下安装JDK多种方式
  3. C# div、css
  4. MVC 5.0 之奇葩错误-<类型“ASP._Page__ViewStart_cshtml”不从“System.Web.WebPages.StartPage”继承>
  5. House Robber II 解答
  6. 原生tab切换
  7. JavaScript 中运算优先级问题
  8. C# Main函数详解
  9. Linux CentOS 7 下 JDK 1.7 安装与配置
  10. GitHub起步---创建第一个项目
  11. 为什么设置overflow为hidden可以清除浮动带来的影响
  12. iOS----------Xcode 无线调试
  13. Odd-e CSD Course Day 4
  14. 详解promise、async和await的执行顺序
  15. vue 之 加载 iframe 的处理
  16. MFC AfxMessageBox(_T("Please Load Rawdata First !"));
  17. 183使用 MediaPlayer Framework 框架播放视频
  18. Node.js学习笔记(1) - Node.js简介
  19. Hive中order by,sort by,distribute by,cluster by的区别
  20. C++static关键字用法

热门文章

  1. 《Entity Framework 6 Recipes》中文翻译系列 (12) -----第三章 查询之使用SQL语句
  2. SSISDB4:Execution
  3. 调用Child Package
  4. Create Volume 操作(Part II) - 每天5分钟玩转 OpenStack(51)
  5. Binary XML file line #2: Error inflating
  6. 克隆您的Git代码库和添加源文件
  7. MongoDB学习系列(1)--入门介绍
  8. 【转】java中注解的使用与实例
  9. h5直播开发之旅总结
  10. 尽量使用translate而不是改变top/left进行动画(翻译)