Created
June 1, 2012 05:53
-
-
Save laszlomiklosik/2849298 to your computer and use it in GitHub Desktop.
Working with SVN pacthes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create patch from diff between remote revisions | |
svn diff -r OLD:NEW > ~/changes_file.diff | |
# create patch from diff based on local changes | |
svn diff > ~/changes_file.diff | |
# apply a patch: -p0 makes sure that all files can be found correctly, -i specifies the input diff file | |
patch -p0 -i ~/changes_file.diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment