MercurialSCM使用知识 2018 程序啪啪啪
MercurialSCM
Add a footprint for a url
- 获取fingerprint(注意空格位置等):
openssl s_client -connect <host>:<port> < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin
- 在~/.hgrc文件的hostfingerprints部分添加一行: host=fingerprint
Ubuntu hg-git plugin 配置
修复方法 添加如下信息到~/.hgrc:
[extensions]
hgext.bookmarks =
hggit = /usr/share/pyshared/hgext/git
从本地文件夹转移过来,需要将git文件夹名字改为XXX.git. 本地同步
hgrc
认真利用: 1. .hg/hgrc 1. 缩写路径,存储登录帐号与密码:
[paths]
default = https://code.google.com/p/project/default
gitserver = git+ssh://xxxx@demo.com/directory/github/xxx.git
[auth]
googlecode.prefix=https://code.google.com/p/project/default
googlecode.password=password
googlecode.username=username
gitserver.prefix=git+ssh://xxxx@demo.com/directory/github/xxx.git
gitserver.password=password
gitserver.username=username
创建@
2011-08-24
最后修改@
2014-01-01