1
i have a big git repo with some old folders in there. i dont need them in my master branch and they are a little bit annoying there but i dont want to loose the data, so archiving would be great. now i miss a feature (or i dont know it yet) which can move them to a seperate branch or something in that way... it would be nice to see only my needed folders in the master branch and have another branch "archive" for all the old stuff... i know that branches are not made for this, so may there is another way? Also i dont want to tar these folders, so it would be great to have them not compressed.
mh yes that was also my first idea, so is there nothing else builtin? – reox – 2011-09-06T19:17:32.323
Not that I know of, unless you want to create a tag to be able to pull those folders out after they were deleted, but with a branch you could probably merge other branches into it when you want to add more to the archive branch. – Nexerus – 2011-09-06T19:21:07.483
okay, so how i move now a folder in my archive branch? git checkout archive; git checkout <myfolder> master; git commit -am "<...>"; git checkout master; git rm <myfolder>; git checkout -am "<...">; ? – reox – 2011-09-06T19:33:31.147