how to upload my project files to online svn host?
2014-09-24 16:25
106 查看
http://stackoverflow.com/questions/2385152/how-to-upload-my-project-files-to-online-svn-host
Before importing your files I suggest you setup the basic structure of your repository. The typical structure looks like this:
You can prepare that structure using the repo-browser. To open the repo-browser right-click on the desktop and select
The repo-browser presents an explorer like interface to the repository where you can right-click in the folder structure and use the New folder context
menu option to create a folder.
Now for importing the files proper I see at least two methods.
Method 1 - Selectively commit the files
Right-click in the folder of your choice and select
the context menu.
In the checkout dialog type the URL of the repository where your files will reside (e.g.https://project.example.com/svn/project/trunk) and the name of
a new directory where you'll be working (i.e. the working copy).
Copy your files into the working copy.
When you are satisfied with the arrangement, right-click on the working copy root folder and select
the context menu.
Click the checkboxe beside each file that needs to be versioned.
Write a short commit message (eg.
Method 2 - Import everything
Right-click on the folder containing your files and select
the context menu.
In the import dialog type the repository URL where these files shoud reside (e.g.https://project.example.com/svn/project/trunk) and write a short commit
message such as
Then right-click in the location of your choice select
the context menu and type the URL of your project and the path for your working copy.
The working copy will be populated with your files. If everything looks right you can continue working from there.
Before importing your files I suggest you setup the basic structure of your repository. The typical structure looks like this:
| +- trunk +- branches +- tags
You can prepare that structure using the repo-browser. To open the repo-browser right-click on the desktop and select
TortoiseSVN -> Repo-browserfrom the context menu. Then type the repository URL as prompted.
The repo-browser presents an explorer like interface to the repository where you can right-click in the folder structure and use the New folder context
menu option to create a folder.
Now for importing the files proper I see at least two methods.
Method 1 - Selectively commit the files
Right-click in the folder of your choice and select
Checkout...from
the context menu.
In the checkout dialog type the URL of the repository where your files will reside (e.g.https://project.example.com/svn/project/trunk) and the name of
a new directory where you'll be working (i.e. the working copy).
Copy your files into the working copy.
When you are satisfied with the arrangement, right-click on the working copy root folder and select
Commit...from
the context menu.
Click the checkboxe beside each file that needs to be versioned.
Write a short commit message (eg.
First commit) then click the
Commitbutton.
Method 2 - Import everything
Right-click on the folder containing your files and select
Import...from
the context menu.
In the import dialog type the repository URL where these files shoud reside (e.g.https://project.example.com/svn/project/trunk) and write a short commit
message such as
Initial import.
Then right-click in the location of your choice select
Checkout...from
the context menu and type the URL of your project and the path for your working copy.
The working copy will be populated with your files. If everything looks right you can continue working from there.
相关文章推荐
- How to upload / import a mysql phpmydadmin database of more than 2MB
- How to Upload Large Files in PHP
- How to obtain Microsoft support files from online services
- How To Upload Files to the Internet Information Server
- How To Use XDOLoader to Manage, Download and Upload Files? (文档 ID 469585.1)
- [SVN]-How do I relocate a repository to another host?
- How to create a project with existing folder of files in Visual Studio?
- How to use TFTP to transfer files from develop board to your host server?
- [Ubuntu] How to the virtualhost to a path which has many project folder?
- Retrofit 2 — How to Upload Files to Server
- Free SVN Repositories to Host your Projects
- How to Upload multiple files to documentLibrary in one time
- How to stop pycharm show files in project in red color?
- How To Use XDOLoader to Manage, Download and Upload Files? (DOC ID 469585.1)
- How to extract .img files built from AOSP(Android Open Source Project)?
- How to map asm files with online database files
- How to upload windows Sysprep Files to VMware vCenter Server Appliance 6.5(vC
- How to import Patio Library in my Project
- how to upload a file to server/ how to modify a file in server
- How do i prevent end users from connecting to the database other than my application?", version 8.1.5