Last active
June 2, 2016 14:54
-
-
Save marcusshepp/c9f060f9d68c4317d00f47d4ca9cef42 to your computer and use it in GitHub Desktop.
SVN notes
This file contains 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
# showing a diff num1:num2 is the commits that we're compairing. | |
svn diff -r 2748:2749 >> ~/Desktop/foo.txt | |
# finding something in the log (-B is how many lines before -A is how many lines after) | |
svn log | grep "4294" -B 3 -A 3 | |
# blow away the changes to file(s) | |
svn revert *.txt | |
# update head | |
svn up | |
# committing | |
svn ci -m "foo" path/to/file path/to/another/file path/to/dir/ | |
# commit a list of files from a file | |
svn ci -m "did a thing" --targets files_to_commit.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment