On 8/21/2014 8:48 PM, Alan W. Irwin wrote: > So we were all in agreement that storage (in a file) of the SHA1 id of > the HEAD commits from each branch to be deleted would be enough to > guarantee branch resurrection, but it turns out that is incorrect. > Further reading shows that git automatically garbage collects > (deletes) all "unreachable" commits after a suitable default period > (usually 90 days, I think). So there are lots of warnings in the > results for google searching for the terms <git resurrect branch> that > the techniques only work for a while until garbage collection occurs.
Hm, that is my take on this as well. I agree that if we want to preserve the branches then we'll need to tag them. Buried in the comments to the first answer to this question is an explanation of how to push the tags to the remote repository: http://stackoverflow.com/questions/2342821/git-branch-deletion If you are really worried about history preservation then you should also implement a server side hook to prevent tag deletion. -Hazen ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel