Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save denislutz/5388146 to your computer and use it in GitHub Desktop.
Save denislutz/5388146 to your computer and use it in GitHub Desktop.
script to switch branch or tag on several folders
#!/bin/bash
function switch_to_version_in_folder {
cd $1
svn switch $2
}
switch_to_version_in_folder /path/to/project/that/you/want/toswitch https://yoursvndoamin.com/yoursvnpathtoproject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment