在 JetBrains intellij 中为 git 显示未跟踪的文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13746106/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 07:51:38  来源:igfitidea点击:

Show untracked files in JetBrains intellij for git

gitintellij-idea

提问by Metaphalon

I'm using JetBrains IntelliJ. Is there any possibility to show untracked files in the summary of git before commiting (VCS -> Git -> Commit File...).

我正在使用 JetBrains IntelliJ。是否有可能在提交之前在 git 摘要中显示未跟踪的文件(VCS -> Git -> Commit File...)。

In my current configuration the untracked files are always left out. So i have to do a 'git status' on the Command line (or look in the file tree for green file entries) to find out about new/untracked files.

在我当前的配置中,未跟踪的文件总是被排除在外。因此,我必须在命令行上执行“git status”(或在文件树中查找绿色文件条目)以查找有关新文件/未跟踪文件的信息。

I appreciate every Tip.

我很欣赏每一个提示。

Thanks

谢谢

回答by CrazyCoder

You can use the Version Control(Alt+ 9) tool window; then go to Local Changestab and expand Unversioned Filesgroup to find all untracked files.

您可以使用Version Control( Alt+ 9) 工具窗口;然后转到Local Changes选项卡并展开Unversioned Files组以查找所有未跟踪的文件。