-1
如何在heroku上啓動後使用cloud9 bitbucket編輯我的網頁? 我已經在cloud9上保存了更改,併發布了一個git commit,並且在bitbucket中。Rubyonrails cloud9 to bitbucket to heroku更新
我是否創建一個新的存儲庫?或如何添加到現有的?
有人可以解釋每一步嗎?
如何在heroku上啓動後使用cloud9 bitbucket編輯我的網頁? 我已經在cloud9上保存了更改,併發布了一個git commit,並且在bitbucket中。Rubyonrails cloud9 to bitbucket to heroku更新
我是否創建一個新的存儲庫?或如何添加到現有的?
有人可以解釋每一步嗎?
假設你有一個bitbucket
庫設置,反映您的生產代碼,您一般應執行以下操作:
git checkout -b new-feature # create repository branch `new-feature` to do more work
... make a bunch of changes and test them ...
git add -A # add all of your changed files
git commit -am "Meaningful comment" # comment which goes with your commit describing what you did
git checkout master # get back to master
git merge new-feature # ... and merge your changes into it
git push # push all of your changes to bitbucket
git push heroku # deploy to production with Heroku
希望,許多這些命令的熟悉已經...否則,看一看在文檔中確保您首先了解。
希望這會有所幫助。
如果你的源代碼位於bitbucket中,你可能使用'git'命令來實現它。你可以發佈你做了什麼,然後讓我們知道你的具體問題或指出哪些不適合你? –
我是否創建一個新的存儲庫?或如何添加到現有的? –
請參閱下面的答案。您不應該創建一個新的存儲庫。 'git'的意義在於在單個存儲庫中跟蹤代碼庫的所有更改/版本。 –