Android Studio does not commit github

I am trying to use git in Android Studio. If I choose to commit changes, he says that he successfully committed the modified files, but these changes are not displayed on GitHub. Instead, if I delete the repository from GitHub and select Share Project on GitHub, it will successfully create a new repository and upload the files to it. This means the connection is OK. In addition, I checked the gitignore file, java files are not included in this list. What could be the problem?

+6
source share
2 answers

You need to select "commit and push".

If you want to download (click) your changes, click on the link:

VCS -> Git -> PUSH 

Only after clicking will your changes be uploaded to GitHub.

If you selected only "commit", the changes will remain only local.

+10
source

In my case, this is completely different - I try to uncheck the box to perform code analysis in the commit changes dialog, and it worked. Hope this helps someone.

0
source

All Articles