Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptrv/93354 to your computer and use it in GitHub Desktop.
Save ptrv/93354 to your computer and use it in GitHub Desktop.
# sync svn working copy and remote repository (auto adding new files)
# Lists the local files that are not present in the remote repository (lines beginning with ?)
# and add them.
svn status | grep '^?' | awk '{ print $2; }' | xargs svn add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment