Make an existing folder into a repository

后端 未结 4 674
眼角桃花
眼角桃花 2021-02-05 08:04

I\'ve decided that modifying files directly in notepad is probably dangerous and it was about time to have some proper source control (I am quite new to source control). I have

4条回答
  •  遇见更好的自我
    2021-02-05 08:48

    There is a simple solution for checking in an existing directory structure:

    1. Open the repository browser of TortoiseSVN and create a new directory for the project you want to check-in.
    2. Check-out this newly created empty directory from SVN somewhere
    3. Open the checked-out directory and move the contained hidden .svn directory into the root directory of your project. This enables the context menues from TortoiseSVN for all files and sub-folders.
    4. Add every file and folder you want to check-in (context menu command Add...)
    5. Execute SVN Commit... on the project root folder

提交回复
热议问题