1. 进入到octopress目录2. 拉取最新提交的source分支代码> git commit -m "本地变动"> git pull origin source> 合并冲突3. 进入 _deploy目录> git pull origin master> 合并冲突
分类:
其他好文 时间:
2015-08-13 01:05:59
阅读次数:
109
Type "load carsmall" to load a sample data set included with MATLAB.Type "boxplot(Horsepower,Origin)" to generate a box plot of auto horsepower groupe...
分类:
其他好文 时间:
2015-08-13 00:53:25
阅读次数:
253
运行: git merge --ff origin/master得到错误信息:error: Your local changes to the following files would be overwritten by merge: dir/file1 dir/file2 dir/file...
在非Retina的iPad mini的屏幕上,一个UILabel的frame的origin值如果有小数位数(例如,0.5),就会造成显示模糊。所以最好用整数值的origin坐标。
参考资料: 《iOS开发进阶》 -唐巧...
分类:
移动开发 时间:
2015-08-10 20:10:53
阅读次数:
132
在非Retina的iPad mini的屏幕上,一个UILabel的frame的origin值如果有小数位数(例如,0.5),就会造成显示模糊。所以最好用整数值的origin坐标。参考资料: 《iOS开发进阶》 -唐巧
分类:
移动开发 时间:
2015-08-10 19:42:08
阅读次数:
139
XMLHttpRequest cannot load http://localhost:8080/abc/index.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '...
分类:
Web程序 时间:
2015-08-10 13:30:20
阅读次数:
169
1. 从官方库fork 自己的分支库后,git clone到local。2. local的remotes/origin默认是自己的分支库。可以添加remotes/upstream指向官方库。3. 自己做得修改应该新建一个branch。保持master branch和官方库一致。4. 如果官方库有更新...
分类:
其他好文 时间:
2015-08-09 16:56:34
阅读次数:
109
「情况1」同一文件内容冲突
cd ~/user2/samplegit pullecho "Hello,User2" >> user.txtgit add .git commit -m "user2 conflict commit"git push origin master
cd ~/user1/sampleecho "Hello,User1" >> user.txtgit p...
分类:
其他好文 时间:
2015-08-09 14:12:01
阅读次数:
162
git branch -r 来查看远程服务器的分支
结果: origin/master
git branch -a 查看所有分支
使用git checkout 命令创建一个分支
git checkout -b pay origin/pay...
分类:
其他好文 时间:
2015-08-08 22:56:03
阅读次数:
173
问题描述通过ajax访问Web服务器(Tomcat7.0.42)中的json web service接口的时候,报以下跨域问题:XMLHttpRequest cannot load http://localhost:8080/get-employees-by-name/name/admin. No ...
分类:
数据库 时间:
2015-08-07 01:41:13
阅读次数:
223