Last active
January 2, 2016 15:29
-
-
Save angus65/8324320 to your computer and use it in GitHub Desktop.
Auto Commit of SVN Changes into SubVersion.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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