# Git Help: ITK and ITKExamples

**URL:** <https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963>\
**Category:** Engineering\
**Created:** [March 17, 2021, 2:45pm UTC](https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963 "2021-03-17T14:45:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melrobin](https://discourse.itk.org/user_avatar/discourse.itk.org/melrobin/32/277_2.png) [@melrobin](https://discourse.itk.org/u/melrobin)\
**Post date:** [March 17, 2021, 2:45pm UTC](https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963/1 "2021-03-17T14:45:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [March 17, 2021, 2:54pm UTC](https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963/2 "2021-03-17T14:54:33Z")

</div>

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

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

```

You can also join the ongoing [hackathon hangout](https://discourse.itk.org/t/itk-examples-st-patty-s-day-2021-hackathon/3939).
