work:hg-howto
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
work:hg-howto [2010/12/24 17:49] – created percy | work:hg-howto [2016/05/05 13:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
hg clone https:// | hg clone https:// | ||
hg pull -u # to pull changes and update | hg pull -u # to pull changes and update | ||
+ | hg update | ||
</ | </ | ||
+ | |||
+ | hg每次都要输入用户名密码,在工程目录下有.hg/ | ||
+ | [paths] | ||
+ | default = https:// | ||
+ | 这样之后再push/ | ||
+ | |||
+ | |||
+ | ===== Issues 1===== | ||
+ | Not trusting file .hg/hgrc from untrusted user root, group root | ||
+ | 遇到这个问题需要修改~/ | ||
+ | < | ||
+ | pjq@gentoo ~ $ cat ~/.hgrc | ||
+ | [trusted] | ||
+ | users = * | ||
+ | group = * | ||
+ | |||
+ | [ui] | ||
+ | username = pengjianqing@gmail.com | ||
+ | |||
+ | </ | ||
+ | |||
/var/www/dokuwiki/wiki/data/attic/work/hg-howto.1293184165.txt.gz · Last modified: 2016/05/05 13:06 (external edit)