Push to remote Mercurial repository

谁说胖子不能爱 提交于 2019-12-04 09:21:15

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/7623607/push-to-remote-mercurial-repository

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!