-
-
Save nikolazic/04fafa3609f0fc639045 to your computer and use it in GitHub Desktop.
This file contains 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
svn status | grep "^\?" | grep -v ".idea" | awk '{print $2}' | xargs svn add; | |
svn status | grep "^\!" | awk '{print $2}' | xargs svn rm; |
This file contains 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
# tars up the files/dirs that are not in svn so you can rm the svn'd dir and then untar them back in | |
svn status | grep "^\?" | awk '{print $2}' | tar cvzf ../notsvn.tar.gz -T - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment