What is the right way to import an Android Studio project in a SVN repository?

后端 未结 1 1343
猫巷女王i
猫巷女王i 2021-02-12 14:31

I\'m trying to import an Android Studio project in my SVN repository. I obiviously tried

VCS->Import into Version Control->Import into Subversion...

<
1条回答
  •  青春惊慌失措
    2021-02-12 15:17

    I followed these steps and I have successfully imported the android project into subversion repository.

    (1) Enable VCS integration (under the VCS)

    (2) Settings -> Version Control -> Ignored Files (add the files, folders in your .gitignore file here) - It should be like below image. After this you can see the ignored files in separate color(like yellow) and other files that need to add to subversion in another color(red)

    Type intellij here and it will give you the ignored file list

    (3) VCS -> Import Into Version Control -> Import into Subversion (I'm using subversion).Select the parent folder, not app folder.

    (4) In the dialog uncheck 'Include ignored resources' then import

    (5) Finally Checkout the project into the same project folder. After this the color of the files(red) that were added to remote repository will be disappeared.

    Note: You can create a new remote folder after giving the repository location(VCS -> Browse VCS Repository -> Browse Subversion Repository)

    0 讨论(0)
提交回复
热议问题