Skip to content

Instantly share code, notes, and snippets.

@vi
Created December 24, 2010 01:35
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 vi/753796 to your computer and use it in GitHub Desktop.
Save vi/753796 to your computer and use it in GitHub Desktop.
Attempt to use --split-submodule
vi@vi-notebook:~/_/gittest$ tar -czf /tmp/gittest.tar.gz .git
vi@vi-notebook:~/_/gittest$ git reset --hard
HEAD is now at 70cd7a6 fix assoc/auth event parsing
vi@vi-notebook:~/_/gittest$ git filter-branch --split-submodule headers
Rewrite a16340b152a6d3df3a3204adcbfb8d4c7670afa6 (1/261)cat: /home/vi/_/gittest/.git-rewrite/t/../map/: Is a directory
Rewrite cf98a6eae1681faa32d0da9fbabfc99707181a61 (6/261)fatal: 90272c0d8b3efd04a5e0666da6d8b8db1be16253 is not a valid 'commit' object
vi@vi-notebook:~/_/gittest$
/tmp/gittest.tar.gz is http://vi-server.org/vi/tmp/gittest.tar.gz
It is filtered iw.git with headers in a separate directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment