Git&SVN
qi_ruihua
世上本没有爱,相处的时间久了也便产生了爱。
展开
-
Git fetch和git pull的区别
Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin mastergit log -p master..origin/mastergit merge origin/master 以上命令的含义: 首先从远程的origin的master主分支下载最新的版本到原创 2014-02-26 11:08:26 · 1049 阅读 · 0 评论 -
SVN:This client is too old to work with working copy…解决方法
昨天升级了一下苹果系统到10.10,扁平化确实不错,高兴之余多少有些不快.我的svn出现问题,总是提示我 SVN:This client is too old to work with working copy在网上也看了不少解决方法,但是都以降级为原则.那为什么不升级.mac升级svn确实有点困难,但总是可以的,大家可以通过看文章:http://blog.csdn.net/qi_ru原创 2014-10-21 12:49:34 · 1403 阅读 · 0 评论 -
Mac下配置svn服务器
Mac自带了svn服务端和客户端,所以只需要简单配置一下就可以使用。 1、创建svn repository Shell代码 svnadmin create /Users/qiruihua/svnserver/repository 2、配置svn用户权限/Users/qiruihua/svnserver/repositor原创 2014-10-26 12:43:24 · 911 阅读 · 0 评论 -
svn:error use xcode-select to change
error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change之前遇到过这个问题,忘记怎么解决了,回头翻看自己的博客发现没有记录.今天真是浪费了30分钟来搞这个.第一遇到的问题是 路径问题 /Application原创 2014-09-16 11:24:59 · 1818 阅读 · 0 评论 -
在Linux系统下, 可以用一个命令很容易批量删除.svn的文件夹
find . -name .svn -type d -exec rm -fr {} \;转载 2014-08-12 23:40:19 · 551 阅读 · 0 评论 -
xcode 安装 svn command line
记得以前的Xcode安装svn command line 是通过xcode-select --install原创 2014-08-18 16:34:11 · 1237 阅读 · 0 评论 -
Git commit your changes or stash them before you can merge
今天用git pull来更新代码,遇到了下面的问题:qrh$ git pull -aUpdating bebc9d4..32e538aerror: Your local changes to the following files would be overwritten by merge: test_qiyi/bin/classes.dex test_qiyi/b原创 2014-05-28 15:40:27 · 1792 阅读 · 0 评论 -
SVN使用和解决方案
SVN使用和解决方案原创 2013-09-24 11:57:03 · 1306 阅读 · 0 评论 -
SVN服务器更换地址解决方法
1。查看仓库地址(URL) #> svn info 路径:. 地址(URL):http://192.168.28.1/repos/test 档案库 UUID:a81f9bed-3506-0410-b369-e50476f75162 修订版:44 节点种类:目录 调度:正常 最后修改的作者:yanghong 最后修改的修订版:44 最后修改的时间: 20原创 2014-04-03 10:47:25 · 4548 阅读 · 0 评论 -
svn Can't revert without reverting children 解决方案
EMZ3.0 qrh$ svn commit -m ""svn: E155010: Commit failed (details follow):svn: E155010: '/Users/qrh/Desktop/work/svn/emz/iOS/trunk/EMZ3.0/TravelGuide/zxing-master'is scheduled for addition, but i原创 2014-04-01 14:17:29 · 26782 阅读 · 2 评论 -
svn提交错误file is scheduled for addition, but is missing
错误提示:svn: '/Users/qrh/Desktop/work/svn/yb2.0/TVAPP/Images/share/moviePause@2x.png' is scheduled for addition, but is missing 错误原因:产生问题的原因是有一个文件已经加入到版本库中,但是后来在文件系统中又移除了这个文件,所以不能够提交。 解决方法:原创 2014-03-27 14:26:58 · 1759 阅读 · 0 评论 -
Unable to create '.git/index.lock': File exists
Git – fatal: Unable to create ‘/.git/index.lock’: File exists.fatal: Unable to create ‘/path/my_proj/.git/index.lock’: File exists.If no other git process is currently running, this probably mea原创 2014-03-03 14:10:27 · 7618 阅读 · 0 评论 -
mac系统及xcode使用的SVN客户端安装升级
当前的SVN版本已经升级到1.8.x了,但mac系统自带的以及xcode使用的SVN客户端版本没有跟着升级,还是1.6.x的版本。为了解决隐藏目录.svn只在根目录下存在的情况,至少要升级到1.7.x版本。本文的方法只支持svn1.7.x 暂时还不支持1.8版本的升级,后续持续更新。我的mac环境:mac 10.8.4 xcode 4.6.3 机器是 mac mini转载 2014-10-21 12:40:21 · 1544 阅读 · 0 评论