Import on TortoiseSVN?

后端 未结 5 1715
慢半拍i
慢半拍i 2021-01-12 12:27

I am trying to set up TortoiseSVN. I am using the Windows version and using the context menu, you right click and it has some options.

For initially getting my files

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-12 12:40

    I use TortoiseSVN as my source control tool. I was also having some trouble learning how to use it at first, but it's quite simple:

    1. When you first get started, you need to create a repository: In Windows Explorer, browse to the place you want to create the repository (I store it on an external hard drive) and in the TortoiseSVN context menu click "Create repository here."
    2. To import your code into the repository, there are two methods:
      • Browse to where your code is currently located and select the command TortoiseSVN --> Import to import that directory into a repository of your choosing.
      • You can create a new repository (as explained above), do a checkout, insert your files into the checked-out directory, and do a commit (applies your changes back to the repository).
    3. In daily use, you're going to be using the checkout command to export changes from the repository (not the "export" command) and using the commit command to apply your changes. You may also be using the comparer tools built-in to TortoiseSVN to resolve conflicts between changes.
    4. Another common command is the export command, which exports the entire repository as it is at the current time.

    It seems a bit strange that it's giving you an error in that way. Could you please explain?

提交回复
热议问题