svn使用
1543 ワード
1回目のサーバーへの送金
svn import http://127.0.0.1/svn/test03 -m "initial import"
更新
svn commit -m "test"
ローカルファイル、ディレクトリを追加したらcommitでサーバに更新します
svn add 001.txt
svn commit -m "test"
ローカルディレクトリを追加ローカルでフォルダを作成
svn mkdir testdir
checkout
svn co https://adictforchild.svn.sourceforge.net/svnroot/adictforchild
svn import http://127.0.0.1/svn/test03 -m "initial import"
更新
svn commit -m "test"
ローカルファイル、ディレクトリを追加したらcommitでサーバに更新します
svn add 001.txt
svn commit -m "test"
ローカルディレクトリを追加ローカルでフォルダを作成
svn mkdir testdir
checkout
svn co https://adictforchild.svn.sourceforge.net/svnroot/adictforchild
# The following assumes /svnroot is a safe location for the
# SVN repository to be stored, modify accordingly should you need
# an alternate location.
$ mkdir ~/svnroot
# Initialize the repository
$ svnadmin create /svnroot
# Go to the directory that contains the content you want to put
# into a SVN module, in this case, the ~/source directory
$ cd ~/source
# Perform a SVN import
$ svn import file:///svnroot -m "initial import"
Adding src
Adding src/foo
Adding src/bar
Adding ~svnroot
Committed revision 1.
# Create a working copy from which to make changes and check them
# back into the repository, etc.
$ mkdir ~/working_copy
$ cd ~/working_copy
$ svn co file:///svnroot
A svnroot/src
A svnroot/src/foo
A svnroot/src/bar
Checked out revision 1.