所以,我一直試圖讓我的分期分支在整天工作,但我錯過了一些東西。所有東西都是最新的(一切都不是)
這是一連串事件:
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名更改,我想看看我的登臺服務器。
我該如何得到這個工作?
http://chat.stackoverflow.com/rooms/35621/http-stackoverflow-com-questions-18280962-everythings-up-to-date-everything-isn – rmagnum2002
爲什麼你'git的checkout'輸出外觀比如'git status'?你可以在命令行中使用'git gui'的東西來給我們一個確切的想法,你在做什麼?對於推送,你確定你有一個遠程調用'staging',你想推動你的本地主分支? – michas
我很困惑。 「暫存」遠程還是分支?你似乎正在使用它像兩個... – Ajedi32