CNode

大家往vps上上传代码有用git的吗?求助

Uusherwong发布于12 年前最后回复12 年前10 回复8095 浏览0 收藏

想把本机的代码上传到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)

A
alsotang#3·12 年前

别听 1L 的。

既然你有 heroku 的使用经验,那么使用 dokku 可以让你的经验复用。

https://www.digitalocean.com/community/articles/how-to-use-the-digitalocean-dokku-application

C
chrome10086#8·12 年前

Alt text

J
jiyinyiyong#9·12 年前
引用 alsotang别听 1L 的。 既然你有 heroku 的使用经验,那么使用 dokku 可以让你的经验复用。 https://www.digitalocean.com/community/articles...

@kingapple 为什么问我啊.. rsync 我是从网上抄的配置一直沿用, 没啥大问题, Mac 下的

G
gclsoft#10·12 年前

你上传到git.oschina或github, 然后vps上取下来. 我连vps上的网站都是直接上传git的

参与回复
登录后即可参与回复。登录