转自stackoverflow: http://stackoverflow.com/questions/115983/how-do-i-add-an-empty-directory-to-a-git-repository Another way to make a directory stay empty (in the repo) is to create a .gitignore inside that directory that contains two lines: 在空目录下创建.g
上传到git上的项目因为配置了过滤文件,将.settings文件和.project文件都过滤掉了,settings文件中主要存放的是各种插件配置,约束你可以更好的利用IDE进行编码 因为将这两个文件过滤掉了,所以导致从git上拉下来的项目,加入到tomcat中是出现如下错误(There are no resources that can be added or removed from the server)没有可从服务器添加或删除的资源 解决办法: 在Deployment Assembly 中