Svn import in localhost and remote server
Before proceeding further,
Ensure the svn installed on your machine and also svn local repository created.
If svn is not installed on your machine, click the Installing svn in windows and linux for installation guides.
If svn repository is not created in localhost, click the Svn local repository creation guide.
Svn import in localhost:
svn import D:\\helloJava.java file:///D:/svn_localhost_repo/helloJava.java -m “helloJava”
Svn import in remote host:
svn import D:\\helloJava.java repo_url/helloJava.java –m “helloJava”
Svn import will perform both checkin and commit by default.
-m means message and it is mandatory field.
Thanks for reading this post……………….!!!
176 total views, 3 views today