“添加到VCS”在Android Studio中禁用 [英] "Add to VCS" disabled in Android Studio
问题描述
我一直在为Android开发者使用Intellij IDEA w / git集成。我最近升级到了Android Studio(v0.1.1),现在我最喜欢的一个快捷键Ctrl + Command + A添加到VCS始终处于禁用状态。这是一个错误或缺少GIT设置吗?
我有同样的问题。首先你要初始化git并添加文件进行跟踪,一些文件要求添加到git中。当您忽略它并检查不要问/记住时,它们会添加到 .gitignore
文件中。
只需打开 .gitignore
文件,并检查是否包含特定文件夹,因此将其删除,文件夹和文件的灰色将变为红色,您可以添加他们只是。
希望为你工作
I have been using Intellij IDEA w/git integration for Android dev for sometime. I have recently upgraded to Android Studio (v0.1.1) and now one of my favorite shortcuts Ctrl+Command+A "Add to VCS" is always disabled. Is this a bug or a GIT setting I am missing?
I had the same problem. At the first place you initialize git and add files for tracking, some files asked to add to git. when you ignore it and check "do not ask / remember" they add to .gitignore
file.
just open .gitignore
file and check if the specific folder is included so remove it and the gray color of folder and files will change to red and you can add them simply.
hope work for you
这篇关于“添加到VCS”在Android Studio中禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!