SVN – Creating and applying patch

I have found a good article about creating and applying SVN patch and it worked well on my workflow. It is useful when current branch or current uncommitted changes are to be kept safe somewhere and apply the changes once the applicable branch is ready.

Below is how to create a patch.

svn diff > ~/my-mods.diff

Then apply it later on.

patch -p0 -i ~/my-mods.diff

Read on here for the details:

How to create and apply a patch with subversion.

Enjoy and share.

Leave a reply

Your email address will not be published. Required fields are marked *