知道了,感谢大家:
正确答案应该是:
$ git rm -r '倒计时'
rm '倒计时/js/countDown.js'
rm '倒计时/倒计时整理.html'
Warning: Your console font probably doesn't support Unicode. If you experience s
trange characters in the output, consider switching to a TrueType font such as L
ucida Console!
Administrator@MEMGXIAN-D2855A /C/Documents and Settings/project/countDown (maste
r)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD ..." to unstage)
deleted: "\345\200\222\350\256\241\346\227\266/js/countDown.js"
deleted: "\345\200\222\350\256\241\346\227\266/\345\200\222\350\256\2
41\346\227\266\346\225\264\347\220\206.html"
Administrator@MEMGXIAN-D2855A /C/Documents and Settings/project/countDown (maste
r)
Administrator@MEMGXIAN-D2855A /C/Documents and Settings/project/countDown (maste
r)
$ git commit -m 'delete'
[master ddac828] delete
2 files changed, 83 deletions(-)
delete mode 100644 "\345\200\222\350\256\241\346\227\266/js/countDown.js"
delete mode 100644 "\345\200\222\350\256\241\346\227\266/\345\200\222\350\256\2
41\346\227\266\346\225\264\347\220\206.html"
Administrator@MEMGXIAN-D2855A /C/Documents and Settings/project/countDown (maste
r)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean