Is SVN version control system right for you?

inwizards

Today we are learning how to commit code on svn server on windows client.

1. We need to install svn client- Tortoise svn on client side

2. How to check out:- Right click on folder and select svn checkout option.

Inwizards

We need to enter repository and destination folder .

inwizards


Enter your user name and password.

inwizards

3:- Update repository  – If your teammate commit code on same repository so we need to take update It’s very simple just right click on repository folder and click on svn update.

inwizards

4:- commit comments  – All commit we need to commented with proper work history.

5:- How to commit – Right click on file folder or project and just click on svn commit.

inwizards

6:- Add a new file – right click on file and click on Tortoise svn -> Add

inwizards

7:- How to remove conflict and compare file. Right click on the file you want to diff

inwizards

It will be red one our side and show yellow in other side

inwizards

You can use the green arrows to navigate through the differences

8:- To see the log changes Right click on file folder and jut click on svn log

inwizards

inwizards

The left column is the version number. It can be entered in the Checkout dialog to get that version instead of the “Head” version.

The bottom shows all the files added/modified/deleted in that revision

9:- By Mistake bad commit done

a) Update your local repository

b) Checkout the last working commit code

9.1:– How checkout last version commit code – click on svn checkout and check revision radio button and enter commit revision number.

After working commit this version .

Some Rules on using SVN

1- Carefully test your code before commit

2 – Before start working take update

3 – If possible always commit only indivisible file you modified

4 – Always enter proper comments

5 – Always use your user to commit and clone

By – Sameer khare

Is SVN version control system right for you?

Post navigation


0 0 vote
Article Rating
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Anuradha
Anuradha
5 years ago

Hi, Sameer

This is really a very good article on SVN!!!

Your artical explains the process how we can use SVN step by step.

Great share and thanks for this post.

Waiting for your next post 😉

Ayesha
Ayesha
5 years ago

Thank you ever so for you post.Much thanks again.

Customwriting
Customwriting
5 years ago

Thanks! And thanks for sharing your great posts every week!

3
0
Would love your thoughts, please comment.x
()
x