"add To Vcs" Disabled In Android Studio
Solution 1:
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
Solution 2:
Add File to git means, that this file doesn´t exist before in git and is newly created ... if you change a file use commit ;)
Solution 3:
This question was asked 3 years ago and probably the OP isnt even following this post for an answer any more. But, for those who land on this page seeking an answer. - Android Studio has evolved a lot since then and all those issues are fixed. Go ahead and download the latest version as of today. It works fine at my end. Never saw that happening.
Solution 4:
I know I am late to the party, but this solved my problem.
Please note, that Android Studio also has its own Ignored Files list. If you can commit files with other git clients or using git in terminal, this could be the problem. In Android Studio go to File > Settings > Version Control > Ignored Files
and remove files/folders from the list. Now you should be able to add files to git.
Solution 5:
You can enable it through this menu:
Post a Comment for ""add To Vcs" Disabled In Android Studio"