Android Studio not committing to GitHub
Solution 1
You have to select "commit and push".
If you want to upload (push) the changes that you made, go to:
VCS -> Git -> PUSH
Only after "pushing", your changes will be uploaded to GitHub.
If you select "commit", your changes would remain local.
Solution 2
For my case it's a different - I try uncheck Perform code analysis in commit changes dialog and it worked. Hope it will help some one.
Triceratops
Updated on June 16, 2022Comments
-
Triceratops almost 2 years
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?