Subversion Notes

Add a Directory and Ignore the Files Within

# Add DIRECTORY to repo without recursion (-N or --non-recursive)
svn add -N DIRECTORY
cd DIRECTORY
svn propset svn:ignore '*.*' .
svn ci -m "Added directory and svn propset svn:ignore '*.*' within it."

Or

vi ~/.subversion/config
[miscellany]
global-ignores = ...

Checkout Examples

svn co svn://vhosts/net/imptech/svn/projects/project

svn co http://svn.imptech.net/project

Version Tagging

svn mkdir http://svn.imptech.net/project/tags/ -m "ImpTech Project Tags"

# Create a tag of revision 13
svn copy -r13 http://svn.imptech.net/project/trunk/ http://svn.imptech.net/project/tags/phase_1-alpha_1 -m "Project Phase 1, Alpha 1"

# Remove a tag
svn rm http://svn.imptech.net/project/tags/phase_1-alpha_1

Move and/or Rename a File

svn mv accessApi.php renamed/AccessApi.php

SCP Notes?

scp COMMANDS SOURCE TARGET