git 提交时如果想忽略某些文件或者目录:
1.在根目录下创建 .gitignore 文件 2.在该文件中直接添加内容,如:
*.mdb *.ldb *.sln .config !.txt
Debug obj/