1.如已经上传了,那需要先git rm -rf 先关文件
2.创建.gitignore文件,在当前工程目录
3.规则
*.log,所有log文件
test/ 测试目录下的所有文件
test.xml 指定具体文件
转载文件:http://www.tuicool.com/articles/7vQZre7
1.如已经上传了,那需要先git rm -rf 先关文件
2.创建.gitignore文件,在当前工程目录
3.规则
*.log,所有log文件
test/ 测试目录下的所有文件
test.xml 指定具体文件
转载文件:http://www.tuicool.com/articles/7vQZre7