# Create new SVN repository
#> svnadmin create /svn/FOO
# Import new project FOO
#> svn import --no-ignore MyFOO svn://foo.domain.com/FOO/MyFOO -m "My First Project."
# Checkout FOO
#> svn co svn://foo.domain.com/FOO/MyFOO
# Add
#> svn add myfoo.c
#> svn commit myfoo.c -m "My Foo file."
# Delete
#> svn del myfoo.c
#> svn commit myfoo.c -m "Remove Foo file."
# Add tag
#> svn copy http://foo.domain.com/FOO/trunk http://foo.domain.com/FOO/tags/FOO-r1 -m "${LOGS}"
# Add branch
#> svn copy http://foo.domain.com/FOO/trunk http://foo.domain.com/FOO/branches/FOO-b1 -m "${LOGS}"
#> svn switch http://foo.domain.com/FOO/branches/FOO-b1
# Modify file permission
#> svn propset svn:executable "*" ${FILENAME}
2009年12月3日
Useful SVN commands
標籤: Services
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言