Usage of svn:ignore

27 Sep

1.Checkout any repo  svn co http://svn/repo1 repowc

2.Set property for the repo

svn propset svn:ignore ‘*.obj’  . /repowc

(ignores all the .obj files) 3.Create and Add some files (vi file1.txt  vi file2.obj ) svn add file1.txt svn add file2.obj 4.Commmit it  svn commit -m “using svn:ignore” 5.Now do modification in .obj file and commit.The changes will not be affected

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: