Android studio-How to submit a project to SVN

Source: Internet
Author: User

  1. The first step

    Download SVN, after the download is complete, you need to command line client Tools Click Modify Installation

    Then crash Reporter Click Select to cancel the installation

    If this is not done, the Svn.exe execution file may not be found in C:\Program files\tortoisesvn\bin.

    Note If you do not select all, such as the second common line client tools, the next step you will not find the Svn.exe file

  2. Second step

    Open Androidstudio, press ctrl+shif+s shortcut key, go to Settings Settings page. As shown, find version control-> click on the subversion-> right border and tick the command line client and select the path Svn.exe.  
    There is also a use system default Subversion configuration directory, which is checked to save some of the SVN configuration information.

     
    This sets the ignore file to commit SVN, ignoring the file, which is the file that does not need to be submitted, if it is submitted, it may conflict with the local file. &NBSP
    Ignore specified file ignore files  
    Ignore All files under   ignore specified file  
    Ignore All files matching   ignores the specified matching rule file

     
    This is the configuration I ignored:  
    Directory:. gradle/ 
    Directory:. idea/ 
    directory:build/ 
    file:local.properties 
    Mask: *.iml &NBSP

    where the following two files are self-contained and do not need to be added manually, the settings is finished after configuration. &NBSP
    File:logistics_wms_rf_apk.iws  
    file:.idea/workspace.xml

  3. Step Three


    After you've configured SVN, start sharing the project with SVN, which is just an association with SVN and doesn't upload a local project.
    Select Vcs->import into Version control->share Project (Subversion)
    Note: This may allow you to fill out the SVN account, password, SVN address, you enter the confirmation on the line, the wrong thing i = =.


    Here you choose the SVN repository address and the shared goal (note: Here is the recommended choice of the second type, placed under the trunk), select click Share Complete.


    Choose 1.8 format here, do not ask me why, I do not understand ...


    Here you can see that the VCs has two buttons, one update, one commit. The left window in project, you can display files that need to be submitted and that do not need to be submitted. Some students theme is black, may show local tyrants gold (ignore file) and green (need to submit files), here is recommended to use the color in my figure, set the method as shown.


    It is recommended to choose IntelliJ, because the programmer long-term eye will cause eye fatigue, will lead to myopia deepened. And the subject is black, more serious. Specific is where to say I also remember, haha, anyway, there is such a say, said Yellow is the best visual fatigue.


    This click on the VCs submit button will allow you to enter the submission page. A commit message is a comment that submits a record. Before clicking Commit, check that the commit file is the one you want to submit, and then click Commit when you are sure. If you encounter a warning pop-up box, click Review. The first time to submit code may be a little longer, please be patient, you can have a cup of coffee in the back of the small net, haha.

Android studio-How to submit a project to SVN

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.