$ git clone -n https://src.fedoraproject.org/rpms/e16.git /var/lib/mock/f41-build-847344-163983/root/chroot_tmpdir/scmroot/e16 Cloning into '/var/lib/mock/f41-build-847344-163983/root/chroot_tmpdir/scmroot/e16'... $ git fetch origin 9ae0f6d0b2e29251cf63e6b6c9e93b73f7429c77:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/e16 * [new ref] 9ae0f6d0b2e29251cf63e6b6c9e93b73f7429c77 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9ae0f6d 1.0.30