我正在一个分层工作,在跟踪整个档案方面遇到麻烦。
$ git status
# On branch master
# 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: public/javascripts/app/fckeditor/editor/skins/office2003/fck_dialog.css
# modified: public/javascripts/app/fckeditor/editor/skins/office2003/fck_editor.css
# modified: public/javascripts/app/fckeditor/editor/skins/silver/fck_dialog.css
# modified: public/javascripts/app/fckeditor/editor/skins/silver/fck_editor.css
# modified: public/javascripts/app/fckeditor/fckconfig.js
# modified: public/javascripts/app/fckeditor/fckeditor.js
# modified: public/javascripts/app/fckeditor/fckpackager.xml
第一类
git reset --hard
返回
欧洲复兴开发银行现在没有任何东西。
However when 第一类
git status
我再次对很长的档案清单表示问候。 我曾试图
git clean -f
and also removed the entire submodule and checked out from the master server. I have also tried to delete the entire project whom the submodule belongs to, pulled that and then initiated and updated the submodule but to no avail.
rm -rf project
git clone foo@bar.project.net:/home/rails/repo/gits/project.com
#Cloning into project...
#remote: Counting objects: 2452, done.
#remote: Compressing objects: 100% (2040/2040), done.
#remote: Total 2452 (delta 1238), reused 582 (delta 145)
#Receiving objects: 100% (2452/2452), 561.32 KiB | 438 KiB/s, done.
#Resolving deltas: 100% (1238/1238), done.
cd project.com
git submodule init
git submodule update
#Cloning into vendor/plugins/project_engine...
cd vendor/plugins/project_engine
$ git status
# On branch master
# 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: public/javascripts/app/fckeditor/editor/skins/office2003/fck_dialog.css
# modified: public/javascripts/app/fckeditor/editor/skins/office2003/fck_editor.css
# modified: public/javascripts/app/fckeditor/editor/skins/silver/fck_dialog.css
# modified: public/javascripts/app/fckeditor/editor/skins/silver/fck_editor.css
# modified: public/javascripts/app/fckeditor/fckconfig.js
# modified: public/javascripts/app/fckeditor/fckeditor.js
# modified: public/javascripts/app/fckeditor/fckpackager.xml
似乎去除档案的唯一事情是,如果我对我的Mac说另一种用途,那么我就认为这个问题是我的当地机器,而不是背书本身。
我也试图停下来并重新加入全球投资机制,目前正在安装1.7.5.4美元,并得到了裁员的帮助(Ruby包装套人)。
我如何将这些档案从身份上删除?