On 1 May 2012, Timothy Pearson said:
Try this:
git reset --hard HEAD
git checkout <hash>
That should do the trick!
This needs to be done once for the entire local repo or for each module
(tqt3, tdelibs, tdebase...)?
Darrell
Execute those two commands from within each module, e.g.:
cd tdebase/
git reset --hard HEAD
git checkout <hash>
<build/install>
Git 1.6.1+ has 'git submodule foreach' which should take most to all of
the pain out of this (and if you're not using at least 1.7.x, you should
upgrade, because the submodule support has come on in leaps and bounds).
--
NULL && (void)