hg的常用配置
2014-03-18 08:04
46 查看
hg的配置文件分为全局配置和每个Repo自己的配置,Ubuntu系统下全局配置文件是~/.hgrc,Win7系统下是C:\Users\chad\mercurial.ini,各repo的配置文件是$REPO_PATH/.hg/hgrc。
username = Your Name
default = http://ip_or_hostname:8000/
repo1 = = https://user@bitbucket.org/user/nep
之后可以用hg push推送到default库,用hg push repo1推送到repo1库;
push_ssl = false
allow_push = *
常用配置
设置Repo的用户名
[ui]username = Your Name
push/pull目标仓库
[paths]default = http://ip_or_hostname:8000/
repo1 = = https://user@bitbucket.org/user/nep
之后可以用hg push推送到default库,用hg push repo1推送到repo1库;
push目标禁用ssl验证
[web]push_ssl = false
allow_push = *
相关文章推荐
- Nginx的配置与部署(8)核心模块之事件模块常用指令
- centos LAMP第四部分mysql操作 忘记root密码 skip-innodb 配置慢查询日志 mysql常用操作 mysql常用操作 mysql备份与恢复 第二十二节课
- 21个常用的apache .htaccess文件配置技巧分享
- Resin的几个常用配置
- Linux查看系统配置常用命令
- IDEA常用配置
- Eclipse常用配置及快捷键-yellowcong
- MyEclipse常用配置
- redis常用命令、常见错误、配置技巧等分享
- 一个配置文件常用函数打包
- tomcat管理界面常用设置 -- 配置数据库连接池
- Samba配置文件常用参数详解
- vim配置及常用命令
- java开发中常用的xml,properties配置
- linux下的常用网络配置详解
- hg客户端密码配置说明.docx
- 阿里云ubuntu 16.04 Server配置方案 3 安装git ,node,pyhon常用的工具
- 写出structs-config.xml的常用配置,并说出其作用
- logback logback.xml常用配置详解(三)