我希望从我的文件夹和所有子文件夹中排除对.DS_Store的跟踪。我还想从我的文件夹中排除.project文件(但不是它的子文件夹)。在我的文件夹中的.gitignore文件中应该写什么?
.DS_Store # or *.DS_Store ? I mean, is the asterisk necessary?
./.project # is this syntax correct?