$ git clone -n https://src.fedoraproject.org/rpms/kshisen.git /var/lib/mock/f40-build-790176-136350/root/chroot_tmpdir/scmroot/kshisen Cloning into '/var/lib/mock/f40-build-790176-136350/root/chroot_tmpdir/scmroot/kshisen'... $ git fetch origin 6a51be0ff6cb32fe56df5af35a049e0f495f9e13:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kshisen * [new ref] 6a51be0ff6cb32fe56df5af35a049e0f495f9e13 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6a51be0 24.02.0