搜索本站
2021 年一月 一 二 三 四 五 六 日 « 三 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
近期文章
文章分类
- Ajax (8)
- Css (4)
- C语言 (1)
- Eclipse (2)
- git (6)
- hadoop (4)
- hbase (3)
- Hibernate (2)
- Java Web (9)
- Javascript (12)
- Linux (18)
- Macos (1)
- Mysql (9)
- Nosql (12)
- Oracle (5)
- Php (47)
- php7升级 (1)
- Python (1)
- Struts2 (4)
- svn (3)
- Uchome (4)
- Wap (2)
- Webservice (2)
- Zendframework (3)
- 公开课 (1)
- 工作总结 (6)
- 心情随笔 (7)
- 扯淡 (1)
- 服务器端 (13)
- 生活 (8)
- 网络基础 (3)
- 错误集锦 (4)
- 默认分类 (24)
文章归档
- 2017 年三月 (2)
- 2016 年十一月 (1)
- 2016 年八月 (1)
- 2016 年一月 (1)
- 2015 年九月 (9)
- 2015 年八月 (5)
- 2015 年七月 (2)
- 2015 年五月 (1)
- 2015 年四月 (3)
- 2015 年二月 (1)
- 2015 年一月 (3)
- 2014 年十二月 (4)
- 2014 年十一月 (1)
- 2014 年八月 (5)
- 2014 年七月 (3)
- 2014 年五月 (5)
- 2014 年四月 (7)
- 2014 年三月 (2)
- 2014 年二月 (3)
- 2014 年一月 (1)
- 2013 年十二月 (1)
- 2013 年十一月 (10)
- 2013 年八月 (1)
- 2013 年七月 (2)
- 2013 年五月 (3)
- 2013 年三月 (1)
- 2012 年十二月 (2)
- 2012 年十一月 (2)
- 2012 年九月 (1)
- 2012 年八月 (1)
- 2012 年七月 (3)
- 2012 年六月 (1)
- 2012 年五月 (2)
- 2012 年四月 (1)
- 2012 年三月 (10)
- 2012 年二月 (2)
- 2012 年一月 (1)
- 2011 年十一月 (1)
- 2011 年十月 (6)
- 2011 年九月 (8)
- 2011 年八月 (5)
- 2011 年七月 (1)
- 2011 年六月 (5)
- 2011 年五月 (2)
- 2011 年三月 (1)
- 2011 年二月 (10)
- 2011 年一月 (3)
- 2010 年十二月 (4)
- 2010 年十一月 (4)
- 2010 年十月 (2)
- 2010 年九月 (1)
- 2010 年八月 (10)
- 2010 年七月 (7)
- 2010 年六月 (1)
- 2010 年四月 (6)
- 2010 年三月 (3)
- 2010 年二月 (3)
- 2010 年一月 (1)
- 2009 年十二月 (1)
- 2009 年十月 (7)
- 2009 年九月 (15)
- 2009 年八月 (7)
- 2009 年七月 (7)
标签云
近期评论
友情链接
标签归档:git
svn和git自动发布服务搭建
为方便本地用php些mapReduce脚本,搭建了svn和git自动发布。方法在本站搜索svn或git。nginx解析hbase.6.cn /data/www/hbase.6.cn 并设置autoindex on。 没用最老的svn://协议方式,可能最简单,需要启动svnserve -d -r /data/svn/respority 本机测试检出 可以直接用本地路径 git clone /data/git_repo/sample.git /data/www/hbase.6.cn/gitwww svn checkout file:///data/svn/project/hbase /data/www/hbase.6.cn/svnwww 其他机器带地址 git clone git@192.168.110.21:/data/git_repo/sample.git 【path】//默认检出文件夹为sample svn checkout http://192.168.110.21:8888/svn/project/hbase 【path】//默认检出文件夹为hbase 分别测试svn提交和git提交是否触发了自动发布。 http://hbase.6.cn/gitwww/ http://hbase.6.cn/svnwww/ svn代码库显示: httpd配置的 http://192.168.110.21:8888/svn/hbase/ nginx代理过去的,把端口号优化掉,稍微好看点。 http://192.168.110.21/svn/hbase/ server { listen 80 default; … 继续阅读
git服务器搭建和开发大致流程
服务器搭建: mkdir -p /data/git_repo/sample.git git init –bare sample.git git初始化一个仓库,而不是工作区。结构和svn create xx后差不多的那种。 total 24 -rw-r–r– 1 chenlong staff 23 8 15 22:55 HEAD -rwxr–r– 1 chenlong staff 111 8 15 22:55 config* -rw-r–r– 1 chenlong staff 73 8 15 22:55 description … 继续阅读
Git push与pull的默认行为
Git push与pull的默认行为 http://segmentfault.com/a/1190000002783245 配置文件 – “分支” 部分 http://www.gitguys.com/topics/the-configuration-file-branch-section/?lang=zh 不带参数执行git pull & git push http://loveky2012.blogspot.com/2012/08/default-behaviour-of-git-pull-and-git-push.html
git基本操作
git clone [-b 分支名] chenlong@http://project/admin.git 不带-b参数默认master分支 git clone http://project/admin.git git clone –progress -v http://project/admin.git git.exe clone –progress -v “http://project/admin.git” “\\192.168.0.105\www\other_user\chenlong\admin” 设置 -> git 编辑本地 .git/config 增加 [credential] helper = store git clone @http://project/admin.git admin2 git checkout — application/core/MY_Exceptions.php git reset … 继续阅读