Skip to content

Instantly share code, notes, and snippets.

@jackilyn
Created June 14, 2012 18:48
Show Gist options
  • Select an option

  • Save jackilyn/2932154 to your computer and use it in GitHub Desktop.

Select an option

Save jackilyn/2932154 to your computer and use it in GitHub Desktop.
find files in dir but not in svn
# 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