想把本机的代码上传到vps上去,vps系统版本是ubuntu12.04。
之前用heroku的免费服务只需要:$ git remote add heroku git@heroku.com:yourAppName.git就可以了
现在升级到digitalocean的付费服务,vps上没有git地址啊,用http地址的话,要怎么写呢
$ git remote add http:111.111.1xx.1xx 这样吗?求指教
回复 (10)
I
U
A
别听 1L 的。
既然你有 heroku 的使用经验,那么使用 dokku 可以让你的经验复用。
https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-dokku-application
J
U
K
K
引用 alsotang别听 1L 的。 既然你有 heroku 的使用经验,那么使用 dokku 可以让你的经验复用。 https://www.digitalocean.com/community/articles...
@jiyinyiyong 客户机用的是windows么?赶脚rsync配置好麻烦啊。。。
C
J
引用 alsotang别听 1L 的。 既然你有 heroku 的使用经验,那么使用 dokku 可以让你的经验复用。 https://www.digitalocean.com/community/articles...
@kingapple 为什么问我啊.. rsync 我是从网上抄的配置一直沿用, 没啥大问题, Mac 下的
G
你上传到git.oschina或github, 然后vps上取下来. 我连vps上的网站都是直接上传git的
参与回复
登录后即可参与回复。登录