Wednesday, July 09, 2008

svn

I don't know why switched to this package for sourcecode control
Add new directories and files to net:
  1. use repository browser to create a new directory which is the same name with your directory
  2. on server (repository browser), right-click the new folder, choose "checkout "the new folder (a warning there).
  3. in local machine, right-click folder, "tortoiseSVN-Add..."
  4. in local machine, right-click folder, "tortoiseSVN- Commit" (now all directories and files are uploaded to server)
con...
==
If something is wrong during this process and you want to go back to original, just delete the .svn directories with:
$ rm -rf `find -type d -name .svn`
[update: 6/25/2009]

In Linux command line, add the local directory and content to server:

sudo svn co http://192.168.1.22/svn/repos /home/username/workspace_mp
sudo svn add the_local_directory
sudo svn ci -m "bla bla"
[update: 11/19/2012]

No comments:

Post a Comment