由于不想使用 ssh,加上也没什么需要保密的,https尽够了。
Google Code
修改.hg/hgrc文件:
[paths]
default = https://YOURNAME:YOURPASSWORD@code.google.com/p/YOURPROJECT
[ui]
username=YOURNAME
[hostfingerprints]
code.google.com=d2:33:75:af:62:64:5b:75:dc:3f:bf:22:30:b6:27:13:ff:3f:90:fd
bitbucket.org
修改.hg/hgrc文件:
[paths]
default = https://YOURNAME:YOURPASSWORD@bitbucket.org/YOURNAME/YOURPROJECT
[ui]
username=YOURNAME
[hostfingerprints]
bitbucket.org = 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe