Git Help: ITK and ITKExamples

Can you give me just a little git help on a simple question?

I forked ITKExamples and updated the fork. I have BUILD_EXAMPLES turned on in ITK. A subsequent build of ITK creates a detached head in Modules/Remote/SphinxExamples and a compile that fails because the source code has been reverted and I no longer have the latest fixes.

I know there is an operator error of some sort, but I’m a little confused as to how to make further progress.

You could reset your master branch to the latest commit there. Something like:

cd Modules/Remote/SphinxExamples
git fetch
git reset --hard 34633b25b6209cd324461e0d0cb3218cdcb61577

You can also join the ongoing hackathon hangout.

1 Like