XMLHttpRequest cannot loadhttp://www.zjblogs.com/. No ‘Access-Control-Allow-Origin‘ header is present on the requested resource. Origin ‘null‘ is therefore not allowed access. 查了一翻资料,发现原来...
分类:
编程语言 时间:
2015-09-10 21:18:18
阅读次数:
232
1.创建一个新的repository:echo "# backupVim" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/fankco...
分类:
其他好文 时间:
2015-09-10 13:11:35
阅读次数:
139
CG_INLINE?CGRect
CGRectMake1(CGFloat?x,?CGFloat?y,?CGFloat?width,?CGFloat?height)
{
????[[ScreenScale?shareScreenScale]?getScale];
????CGRect?rect;
????rect.origin.x?=?x?*...
分类:
其他好文 时间:
2015-09-10 11:21:30
阅读次数:
216
Fork,本身并不是git工具中的一个命令,也不是对git的扩展,它是在GitHub上的概念,是另一种clone方式——在服务器端的clone。而我们通常意义上的clone,是将远程repo 复制一份到本地。当你从GitHub上 clone 一个 repo 到本地时,除非你已明确声明是这个repo的...
分类:
其他好文 时间:
2015-09-08 23:15:26
阅读次数:
285
1、从远程repository上clone 项目到本地上时,在本地除了创建一个当前远程head指针指向的branch外,还会同时复制远程repository的branch到本地上,可以通过git branch -a 或者git branch -r 来查看远程复制到本地的所有branch.默认命名为:...
分类:
其他好文 时间:
2015-09-08 21:58:07
阅读次数:
153
Git 常用命令整理 取得Git仓库 初始化一个版本仓库 git init Clone远程版本库 git clone git@xbc.me:wordpress.git 添加远程版本库origin,语法为 git remote add [shortname] [url] git remote add origin git@x...
分类:
其他好文 时间:
2015-09-07 18:07:49
阅读次数:
206
把平时用到的git的相关技巧总结在此,以备不时之需。? 一.git提交代码整个流程 1.git?add?-u
2.git?commit????#添加信息,保存退出
3.git?checkout?master???#切换到主分支
4.git?pull?origin?m...
分类:
其他好文 时间:
2015-09-06 13:15:32
阅读次数:
151
安装参考 http://www.cnblogs.com/kissrat/archive/2008/10/15/1311563.html安装:1、解压gatbx-origin.zip,得到DOC和SRC文件夹;2、拷贝SRC到Matlab安装目录下的toolbox文件夹中,并将SRC更名为gatbx;...
分类:
其他好文 时间:
2015-09-06 09:43:52
阅读次数:
1010
Git命令 git remote — 查看远程仓库的名字 -v — 查看远程仓库对应的地址 -origin — 远程仓库的名字 git push 仓库名(默认是origin) 分支(master) — 同步到远程仓库 默认:git push origin master ...
分类:
其他好文 时间:
2015-09-05 17:41:02
阅读次数:
126
刚创建的github版本库,在push代码时出错:$ git push -u origin masterTo git@github.com:******/Demo.git! [rejected] master -> master (non-fast-forward)error: fai...
分类:
其他好文 时间:
2015-09-02 18:48:45
阅读次数:
153