Skip to content

Instantly share code, notes, and snippets.

@collinprice
Created June 14, 2013 19:07
Show Gist options
  • Save collinprice/5784395 to your computer and use it in GitHub Desktop.
Save collinprice/5784395 to your computer and use it in GitHub Desktop.
svn tips
# 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