$ git clone -n https://src.fedoraproject.org/rpms/kmail.git /var/lib/mock/f39-test-2571316-62245/root/chroot_tmpdir/scmroot/kmail Cloning into '/var/lib/mock/f39-test-2571316-62245/root/chroot_tmpdir/scmroot/kmail'... $ git fetch origin 65cbf5c398177cb7a774c9b2d9650ca2f5bf98c6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmail * [new ref] 65cbf5c398177cb7a774c9b2d9650ca2f5bf98c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 65cbf5c 23.08.5