idea去除不需要的提交,提交时出现很多我不需要的提交文件,项目拉取项目时不更新文件
更新代码是忽略跟踪文件
# git update-index --assume-unchanged PATH
git update-index --assume-unchanged src/main/resources/application.yml
idea 中编写忽略版本控制文件
在idea 中根目录中创建.gitignore 文件,常见内容: 添加.idea/ exam.iml
# Compiled class file
*.class
# Log file
*.log
# BlueJ file
原创
2020-11-18 09:57:49 ·
3053 阅读 ·
0 评论