1、先清除.idea的git缓存
git rm -r --cached .idea
2、添加.gitignore文件,内容如下:
.idea/*
3、终端执行如下命令:
git add . git commit -m 'add .gitignore' git push
1、先清除.idea的git缓存
git rm -r --cached .idea
2、添加.gitignore文件,内容如下:
.idea/*
3、终端执行如下命令:
git add . git commit -m 'add .gitignore' git push
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。