Textmate 2 Alpha showing references for deleted files

好久不见. 提交于 2019-12-04 03:45:27

问题


I know it's an Alpha product, but I think this is a setting rather than a bug. When I delete files from with textmate file manager, the file is deleted but remains in the project with a red 'X' through it. See the image below.

I have checked on the file system and it is not there, and have also git commited and pushed the changes to my github repo.

Any ideas?

EDIT

Cross-posted to the Textmate mailing list. No answers so far. http://textmate.1073791.n5.nabble.com/Textmate-2-Alpha-and-deleting-files-td26669.html

SOLUTION

As per danodonovan's suggestion, I looked into the git issues. Turns out git status showed the files up, and eventually they were commited.

This did not work:

$ git add .
$ git commit -m "message"
$ git push origin master

This did work:

$ git commit -a -m "message"
$ git push origin master

I thought -a -m was synonymous for the first set of commands. In any case the problem is solved and was not a Textmate issue but rather uncommited deletions, which makes sense. Thank you to danodonovan.


回答1:


Do these files show up with

$ git status

? As you've found out you'll either have to commit the removed files individually or use

$ git commit -a -m "comment"

:-)



来源:https://stackoverflow.com/questions/17590302/textmate-2-alpha-showing-references-for-deleted-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!