Android Studio not committing to GitHub

Viewed 12131

I am trying to use git in Android Studio. If I choose commit changes, it says that it has successfully committed the changed files but those changes do not appear on the GitHub. Instead, if I delete the repository from GitHub and choose Share Project on GitHub, it successfully creates a new repository and uploads the files into it. This means that the connection is fine. Also, I have checked the gitignore file, the java files are not in that list. What could be the problem?

2 Answers

For my case it's a different - I uncheck Perform code analysis in commit changes dialog and it worked. Hope it will help some one.

Related