Git上传文件时忽略制定目录(IDEA)
- settings--plugins--搜索并下载.ignore插件,然后重启
- 右键项目NEW--
.ignore file
--.ignore file(Git)
;如下图
### 忽略文件夹
.idea
src/test
target
### Java template
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
1+1>2