$ git clone -n https://src.fedoraproject.org/rpms/rocs.git /var/lib/mock/f41-build-846639-163159/root/chroot_tmpdir/scmroot/rocs Cloning into '/var/lib/mock/f41-build-846639-163159/root/chroot_tmpdir/scmroot/rocs'... $ git fetch origin e80828d0fac7e1d07a1d344b9e0ec6c1b1cccb0a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rocs * [new ref] e80828d0fac7e1d07a1d344b9e0ec6c1b1cccb0a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e80828d 24.08.0