Skip to content

Instantly share code, notes, and snippets.

@malinky
Created April 18, 2016 07:58
Show Gist options
  • Save malinky/a99aca8f0f0b346ed1477a45c92ad4ad to your computer and use it in GitHub Desktop.
Save malinky/a99aca8f0f0b346ed1477a45c92ad4ad to your computer and use it in GitHub Desktop.
Update WordPress plugin in plugin directory
# CD into local directory of files (Or checkout if don't have).
cd my-local-dir/
# Check it's up to date.
svn up
# Make changes to the files in the trunk directory then check them against the remote.
# Files are flagged with M for modified.
svn stat
# Commit the changes with a message.
svn ci -m "New features"
# Copy the new release from trunk to a new tags folder and tag in the repository.
svn cp trunk tags/version-number
svn ci -m "tagging version version-number"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment