Skip to content

Instantly share code, notes, and snippets.

@EmielM
Created June 14, 2009 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmielM/129735 to your computer and use it in GitHub Desktop.
Save EmielM/129735 to your computer and use it in GitHub Desktop.
git checkout -q -b current archive
find . -iname '_archived' -exec git rm -r {}/.. \; >/dev/null 2>/dev/null
git commit --allow-empty -m 'Archived delta' >/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment