git hg提交拉取

工作总结
web_acl
535 git clone “ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git"
600 git branch wulongchao_timestamp_17_01_11
601 git checkout wulongchao_timestamp_17_01_11
643 git commit -m 'add modify timestamp’
647 git push origin guorunhe_timestamp_17_01_11
1.配置nginx服务器,在service下增加配置文件,启动nginx服务器(百度)
2.增加php redis服务(百度)
3.安装git,并将项目从仓库clone下来
1)在hosts下增加:172.16.75.71 outergit.yonyou.com
2)若果没有权限的话就去找国栋哥增加权限
3)git clone ”ssh://git@outergit.yonyou.com:49622/esn_web/web_acl.git“
4)新建分支
5)修改代码
6)commit
7)推送代码
4.config下的config.php-dist、redis.php-dist和lib/yycenterSDK/const.php-dist修改为相应的.php
5.访问url并进行代码编写、调试
6.将编写好的代码提交至仓库
service
hg clone 主机名
356 hg up default
357 hg branch wulongchao_timestamp_17_01_11
358 hg branch
359 hg pull https://hgcode.upesn.com/services/service_esn_plugins_pengzhaoxia -e pzx_merge
360 hg merge pzx_merge
361 hg ci -m '合并'
1.编写代码
2.将代码提交到朝霞哥的分支
3.对代码进行调试
必须注意代码风格。

原文地址:https://www.cnblogs.com/jasonxiaoqinde/p/6282078.html