# Do things in edx-platformclean:# Remove all the git-ignored stuff, but save and restore things marked# by start-noclean/end-noclean. sed -n-e'/start-noclean/,/end-noclean/p' < .gitignore > /tmp/private-filestar cf /tmp/private.tar `git ls-files --exclude-from=/tmp/private-files --ignored--others` git clean -fdXtar xf /tmp/private.tar