Created
June 14, 2012 18:48
-
-
Save jackilyn/2932154 to your computer and use it in GitHub Desktop.
find files in dir but not in svn
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
| # Find stuff that has not been committed | |
| svn status | |
| # Find files that have not been added | |
| svn status | grep -e ^? | |
| # Find files that have been modified | |
| svn status | grep -e ^M | |
| # Find and add files that have not been added | |
| svn status | grep ^? | awk '{print $2}' | xargs svn add | |
| #… or just | |
| svn add --force * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment