$ git clone -n https://src.fedoraproject.org/rpms/kclock.git /var/lib/mock/f40-build-790557-136608/root/chroot_tmpdir/scmroot/kclock Cloning into '/var/lib/mock/f40-build-790557-136608/root/chroot_tmpdir/scmroot/kclock'... $ git fetch origin c0ec7c490d185ee8785930647a0fc061734a8b92:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kclock * [new ref] c0ec7c490d185ee8785930647a0fc061734a8b92 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0ec7c4 24.02.0