Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auto Commit of SVN Changes into SubVersion.
# Delete Missing Files
svn status | ? { $_ -match '^!\s+(.*)' } | % { svn rm $Matches[1] }
# Add New Files
svn status | ? { $_ -match '^\?\s+(.*)' } | % { svn add $Matches[1] }
# Remove Locks
svn cleanup
# Commit with a message.
svn commit -m "Night Automatic commit" --username <<SVN_USER_NAME>> --password <<SVN_PASSWORD>>
# Remove Locks
svn cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment