source tree 如何忽略文件

点击“编辑”后进入.gitignore编辑页面:

2. .gitignore文件编辑:

忽略指定文件:直接写文件名

忽略文件夹:直接写文件夹路径,例:target或者target/ -> 忽略target下的所有文件

忽略某类型的文件:使用通配符*,例:*.class -> 忽略所有.class文件

猜你喜欢

转载自blog.csdn.net/a787188834/article/details/81449215
今日推荐