如何关闭并“将文件添加到git”中。在Intellij?
当我创建一个新的类文件时,
即使我关闭了此选项 ”当创建文件时:不要添加“ ,
将文件添加到git“通知骚扰我...
When I create a new class file,
even though I turn off this option "When files are created: Do not add",
always "Add file to git" notification harass me...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定这是否正是您想要的,但让我尝试。
标记具有控制台图标的设置仅应用于当前项目(阅读本文)。因此,当您创建一个新项目(或打开一个新项目)时,默认为“问”。但是,您可以在
文件 - &gt中更改它。新项目设置 - >新项目的设置...
,它将为您打开相同的设置窗口,但是如果您在Intellij中创建/打开新项目,则将默认应用这些设置。将其设置为“请勿添加”应该足以使“添加到git”弹出窗口再次获得。I'm not sure if this is exactly what you're looking for but let me try.
Settings marked with a console icon are only applied to the current project(Read this article). So when you create a new project (or open a new project), it defaults to "Ask". However, you can change that in
File -> New Projects Setup -> Settings for New Projects...
which will open the same settings window for you but these settings will be applied by default if you create/open new projects in Intellij. Setting this to "Do not add" should be enough to never get the "Add file to git" pop-up window again.