git的使用以及github
现在公司使用的是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
最新文章
- CapsLock与ctrl的键位修改
- Linux下安装JDK多种方式
- C# div、css
- MVC 5.0 之奇葩错误-<;类型“ASP._Page__ViewStart_cshtml”不从“System.Web.WebPages.StartPage”继承>;
- House Robber II 解答
- 原生tab切换
- JavaScript 中运算优先级问题
- C# Main函数详解
- Linux CentOS 7 下 JDK 1.7 安装与配置
- GitHub起步---创建第一个项目
- 为什么设置overflow为hidden可以清除浮动带来的影响
- iOS----------Xcode 无线调试
- Odd-e CSD Course Day 4
- 详解promise、async和await的执行顺序
- vue 之 加载 iframe 的处理
- MFC AfxMessageBox(_T(";Please Load Rawdata First !";));
- 183使用 MediaPlayer Framework 框架播放视频
- Node.js学习笔记(1) - Node.js简介
- Hive中order by,sort by,distribute by,cluster by的区别
- C++static关键字用法
热门文章
- 《Entity Framework 6 Recipes》中文翻译系列 (12) -----第三章 查询之使用SQL语句
- SSISDB4:Execution
- 调用Child Package
- Create Volume 操作(Part II) - 每天5分钟玩转 OpenStack(51)
- Binary XML file line #2: Error inflating
- 克隆您的Git代码库和添加源文件
- MongoDB学习系列(1)--入门介绍
- 【转】java中注解的使用与实例
- h5直播开发之旅总结
- 尽量使用translate而不是改变top/left进行动画(翻译)