使用Windows 8,BitNami Rubystack,Ruby 2.0.0p353,Rails 4.0.3。我经常使用Git分支并执行更改。我正在研究一个名为device-enhanced(我相信我是反正......)的分支。我像往常一样去做改变。 Git添加和提交工作,然后结帐说主人是最新的。变回分支机构,它也是最新的?据统计,我改变了12个文件137个变更和133个删除。最新情况如何?我做错了什么?谢谢...Git发现变化,然后说所有内容都是最新的
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git add .
warning: LF will be replaced by CRLF in Gemfile.lock.
warning: LF will be replaced by CRLF in app/views/layouts/_messages.html.erb.
warning: LF will be replaced by CRLF in app/views/layouts/application.html.erb.
warning: LF will be replaced by CRLF in app/views/users/edit.html.erb.
warning: LF will be replaced by CRLF in app/views/users/show.html.erb.
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git commit -m "Device enhanced but model not yet renamed"
[eliminate-rolify warning: LF will be replaced by CRLF in Gemfile.lock.
warning: LF will be replaced by CRLF in app/views/layouts/_messages.html.erb.
warning: LF will be replaced by CRLF in app/views/layouts/application.html.erb.
warning: LF will be replaced by CRLF in app/views/users/show.html.erb.
warning: LF will be replaced by CRLF in app/views/users/edit.html.erb.
926a210] Device enhanced but model not yet renamed
warning: LF will be replaced by CRLF in Gemfile.lock.
warning: LF will be replaced by CRLF in app/views/layouts/_messages.html.erb.
warning: LF will be replaced by CRLF in app/views/layouts/application.html.erb.
warning: LF will be replaced by CRLF in app/views/users/edit.html.erb.
warning: LF will be replaced by CRLF in app/views/users/show.html.erb.
12 files changed, 137 insertions(+), 133 deletions(-)
rewrite app/views/layouts/_messages.html.erb (83%)
create mode 100644 app/views/layouts/_shim.html.erb
create mode 100644 app/views/users/edit.html.erb
rewrite db/seeds.rb (81%)
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git merge device-enhanced
Already up-to-date.
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git push -u origin master
Branch master set up to track remote branch master from origin.
Everything up-to-date
D:\BitNami\rubystack-2.0.0-11\projects\anyapplication>git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
也许你对主人承诺。 – jcm
我知道这是可能的。即便如此,推送解决方案不会更新吗? –