我应该将 .idea/jarRepositories.xml 添加到 gitignore 吗? [英] Should I add .idea/jarRepositories.xml to gitignore?

查看:46
本文介绍了我应该将 .idea/jarRepositories.xml 添加到 gitignore 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该将 .idea/jarRepositories.xml 添加到 gitignore 吗?
是Android Studio升级到4.0后生成的

Should I add .idea/jarRepositories.xml to gitignore?
It was generated after updating Android Studio to 4.0

推荐答案

这个 PR 所示,你可以将 .idea/jarRepositories.xml 添加到 .gitignore (和 git rm --cached .idea/jarRepositories.xml>)

As illustrated by this PR, you can add .idea/jarRepositories.xml to .gitignore (and git rm --cached .idea/jarRepositories.xml)

  • gitignore.io with IntelliJ preset removes the file
  • I guess we're using the auto-import feature and don't need to track this file

这篇关于我应该将 .idea/jarRepositories.xml 添加到 gitignore 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆