我在远程 VPS 上有一个 Mercurial 存储库。 VPS 已启用 SSH 访问。将代码更改从我的开发机器推送到远程 VPS 有哪些选择?

最佳答案

如果您的 VPS 安装了 Mercurial,只需:

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

或添加到 repo 的 hgrc
[paths]
default-push = ssh://username@host/path/relative/to/home

只是
hg push

关于mercurial - 推送到远程 Mercurial 存储库,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7623607/

10-15 12:03