之前承诺:混帐不问如果我运行git状态切换分支
# On branch new-media
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .gitignore
# modified: app/views/layouts/application.html.erb
然后我签出主人:与git checkout master
M .gitignore
M app/views/layouts/application.html.erb
Switched to branch 'master'
此前,混帐阻止我去结帐其他分支,提示我要么藏起来,要么承诺我在当前所做的更改。现在,它不再这样做了。
我相信它从来没有这样做过。这种行为是故意的。难道你是在将这个变化与已经添加到索引和转换分支的变化混淆了吗? – pmr 2012-07-13 18:55:14