开发者

Push to remote Mercurial repository

开发者 https://www.devze.com 2023-04-10 15:38 出处:网络
I have a Mercurial repository on a remote VPS. The VPS has SSH access enabled. What are my options for pushing code changes from my development 开发者_运维问答machine to the remote VPS?If your VPS has

I have a Mercurial repository on a remote VPS. The VPS has SSH access enabled. What are my options for pushing code changes from my development 开发者_运维问答machine to the remote VPS?


If your VPS has Mercurial installed, simply:

hg push ssh://username@host/path/relative/to/home

or add to the repo's hgrc

[paths]
default-push = ssh://username@host/path/relative/to/home

and just

hg push
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号