所以,我一直试图让我的暂存分支整天工作,但我错过了一些东西。
这是事件链:
git branch
develop
*master
staging
做一些改变
git checkout staging
M app/views/comments/index.html.erb
M app/views/devise/registrations/new.html.erb
M app/views/devise/sessions/new.html.erb
M app/views/layouts/application.html.erb
M app/views/songs/contact.html.erb
M app/views/songs/faq.html.erb
M app/views/songs/index.html.erb
M app/views/songs/new.html.erb
M app/views/songs/new_songs.html.erb
Switched to branch 'staging'
git gui (git commit and then git push staging)
git checkout master
git push staging master (deployment)
Everything up-to-date
一切都不是最新的,我只是做了 10 处我希望在我的登台服务器上看到的更改。
我怎样才能得到这个工作?