$ git clone -n https://src.fedoraproject.org/rpms/golang-github-openapi-jsonreference.git /var/lib/mock/f41-build-1036190-18712/root/chroot_tmpdir/scmroot/golang-github-openapi-jsonreference Cloning into '/var/lib/mock/f41-build-1036190-18712/root/chroot_tmpdir/scmroot/golang-github-openapi-jsonreference'... $ git fetch origin a9731c4ca4e6a8fde609efc58b1413edb60b2920:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-openapi-jsonreference * [new ref] a9731c4ca4e6a8fde609efc58b1413edb60b2920 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a9731c4 Fix FTBFS