I have an Android project on Android studio and I am trying to put it in my subversion repo and do commits. First I enabled version control in the VCS drop down menu in Android studio and imported my project into my subversion repository. The project is there and I can see it. When I make some changes to my code and try to commit it, it says "No changes detected". All my files are turned red too. Am I not doing something correctly? How do I do this?
Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.
Commit uploads your changes on the CVS / SVN server, and Update overwrites the files on your localhost with the ones on the server.
Name. svn commit (ci) — Send changes from your working copy to the repository.
By default, Android Studio doesn't mark local actions as repo actions.
To mark a newly created file as an SVN add, you can right-click on the file (either in the hierarchy or the editor tab) -> Subversion -> Add. As you can imagine though, this is quite cumbersome to do for every single file.
To change the setting so that newly created files are instantly marked as a repo add, go to Preferences -> Version Control -> Confirmation -> Add silently (under the 'When files are created' category).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With