隨着Heroku的應用,而在git的URL像[email protected]:app.git
, 而在github上回購https://github.com/username/other_app.git混帳與Heroku的應用和github上
可以同步兩個回購的兩個混帳服務器託管SEMA應用程序(的Heroku和github)?
而且還Link Heroku app to Github repo. For what?
隨着Heroku的應用,而在git的URL像[email protected]:app.git
, 而在github上回購https://github.com/username/other_app.git混帳與Heroku的應用和github上
可以同步兩個回購的兩個混帳服務器託管SEMA應用程序(的Heroku和github)?
而且還Link Heroku app to Github repo. For what?
當然是的,這是可能的,因爲Git是一個distributed repository。您可以配置多個遙控器,一個在GitHub上,另一個在heroku上,並將更改推送到它們兩個。
例子:
heroku create
或heroku git:remote -a my_heroku_app
)。詳細信息請參見git documentation of heroku。這裏有一些有用的命令與github上/ Heroku的工作時:
顯示github上遠程:
遠程Git秀起源
顯示Heroku的混帳:
git的遠程顯示的Heroku
將github推送到heroku:
混帳推Heroku的主
,如果你有在github上一個「分期」分支,並希望推動這Heroku的混帳(主)的 「分期的應用程序」:
混帳推Heroku的分期:主-v