kevinlinxp
12/31/2016 - 8:53 AM

SVN

SVN

## Ignoring multiple file types and items
svn propset svn:ignore -R *.class .
svn propset svn:ignore -R *.apk .
svn propset svn:ignore -R Thumbs.db .

# “svn, ignore all the names on this blacklist!”: the -F flag
svn propset svn:ignore -R -F .svnignore .

bin
gen
proguard
.classpath
.project
local.properties
Thumbs.db
*.apk
*.ap_
*.class
*.dex

# List all properties (including svn:ignore) set for the current directory. You can optionally specify a path, or use -v (--verbose) will list all the file patterns being ignored.
svn proplist -v [PATH]

# Remove all your svn:ignore settings for the current directory. You can optionally specify a path, or use -R (--recursive) to delete the property recursively.
svn propdel svn:ignore [PATH]

# As mentioned earlier, this will include all ignored files in your svn status output:
svn status --no-ignore

# Reference:
http://superchlorine.com/2013/08/getting-svn-to-ignore-files-and-directories/
http://aliceinfo.cern.ch/Offline/node/2912/
# 1. It's good to first verify the content of the directory with:
svn ls https://github.com/foobar/Test.git/trunk/foo

# 2. Use svn export to do this:
svn export https://github.com/foobar/Test.git/trunk/foo