Pages

Thursday, December 07, 2017

How to "touch" a git repo

Note to self: How to "touch" a git repo so you can commit the same thing a second time.

git commit --allow-empty -m "Touching to kick off new build"

Is that a code tool smell? Yes, of course it is. In this case, I'm doing it to kick off our build process, which seems to have screwed up earlier. And sure enough, it worked.