Created
June 14, 2013 19:07
-
-
Save collinprice/5784395 to your computer and use it in GitHub Desktop.
svn tips
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
# Go to the directory | |
cd trunk/ | |
# Add just the single file to the current directories ignore list (like above) | |
# Note the dot at the end of the command is important | |
svn propset svn:ignore secret.txt . | |
# See that things worked | |
svn propget svn:ignore . # Notice the single file was added to the list | |
svn status --no-ignore # You should see an 'I' next to the ignored files | |
# Commit | |
svn commit -m "Its secret" # You must commit the new property change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment