Skip to content

Instantly share code, notes, and snippets.

@malinky
Created September 9, 2015 10:37
Show Gist options
  • Save malinky/f5c628f4a2c86efa026f to your computer and use it in GitHub Desktop.
Save malinky/f5c628f4a2c86efa026f to your computer and use it in GitHub Desktop.
Wordpress Plugin SVN
# Checkout (Don't need LOCAL-DIR if already in it)
svn co https://plugins.svn.wordpress.org/PLUGIN-NAME/ LOCAL-DIR
# Let svn know about new files ready for a commit (after adding the actual files to the local directory)
# Don't need this if amending an exists versioned file
svn add DIR/*
svn add DIR/FILENAME
# What's changed between local and svn repository
svn stat
# Check diffs
svn diff
# Commit
svn ci -m "Message"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment