Androidstudio importing projects to VISUALSVN server and ignoring (ignore) related files detailed steps

Source: Internet
Author: User

When you submit the code, if there are a variety of files you do not want to submit, you may choose to select the JAVA–>SRC in the left column of the project to submit, so the operation is not a problem, but if you want to use the quick-submit icon to submit, it will be very painful.
This is the icon:

It took me a while to use the VISUALSVN Server tool to finally achieve the effect of clicking on the Quick submit icon (very clean, just see what I want to see):

The steps are as follows:

1. Download VisualSVN Server https://www.visualsvn.com/
2. Install VisualSVN Server, the installation will prompt you to choose the Standard and Enterprise Edition, usually using the choice of standard Edition (normal edition) is good
3. Here are some of the branches I created, and the meanings of several folders can be referenced:
http://blog.csdn.net/zx_android/article/details/51034627

4. All configured so you can submit the project.

At this point, you need to add your server address, of course, you need to log in after the submission of code, and ensure that your account is write permission.
Where is the server address?
Open your Visual Server Manager


This is your server address.


It would be nice to wait for it to be done quietly at this time.

5. When you're done, look at the visual Server Manager and you'll find nothing, empty folders are submitted. is a drop, because our code has not been submitted, has not ignored the relevant files. :

6. Submit the code and ignore the relevant documents

6.1 Ignoring files
Recommended filtering files in Android Studio:
-. Idea Folder
-. Gradle folder
-All the Build folders
-All. iml files
-Local.properties File
I was also file–>settings–> Version control–> ignored files, but I found that it didn't seem to be a very helpful time to commit. Androidstudio When you create an Android project, you will have 2 names that ignore the file:. gitignore file (one in the app folder, one in the app folder), of course, this file is intended for you when you commit to git, and it seems to have nothing to do with SVN. All of us here directly by not submitting the relevant files to achieve filtering.




You can commit when you're done.

7. At this point, look at Visual Server Manager, which is what we want:

8. The small partner you developed with will need to check your share project




It will make a mistake, do not have to worry about it cancel the good:

Then open the file–>open–> you just check down

Tested for perfect operation without any problems:

9. Last step: Make a minor change, click on the shortcut button to submit:

It is clear that we have achieved the desired effect.

Androidstudio importing projects to VISUALSVN server and ignoring (ignore) related files detailed steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.