Committing the code on Subversion (first time)

Viewed 57099

I am new on Subversion. I have to commit a code on subversion and this is the first time that I am doing this. So my mentor told me to put username on his server using SSH. I did this by following code:

amit@<URL> and it works fine.

Now he asked to commit the code and he give me url, but he said me to create a folder first by username which you have got at the time of SSH i.e. amit.

How I create a folder on svn link and then how to commit the project.

7 Answers

I had to send my code to other svn url from my svn. What I did

1 Take checkout of destination svn url in one place (Where i need to push my code)

svn co destination_svn_url

2 Now, I have my code. I deleted .svn folder(hidden) from my code using following command to avoid conflict between versions

rm -rf `find . -type d -name .svn`

3 Now I copied my code(folder) and paste it to destination folder i.e in step 1 and run the following command

svn add folder_path_i_paste

4 Now commit the code.

svn commit -m"Code pushed"

//First add working copy

  • svn co your url
  • svn add * --force
  • svn commit -m "first commit"

//Remove frameworks such as google places, Google maps, Google maps core because these cause error while uploading data.

Related