$ git clone -n https://src.fedoraproject.org/rpms/kf6-kpty.git /var/lib/mock/f41-build-849278-164840/root/chroot_tmpdir/scmroot/kf6-kpty Cloning into '/var/lib/mock/f41-build-849278-164840/root/chroot_tmpdir/scmroot/kf6-kpty'... $ git fetch origin 2dc53d58d55b9ec1a2ac87d4e8e6975dfdab9911:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf6-kpty * [new ref] 2dc53d58d55b9ec1a2ac87d4e8e6975dfdab9911 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2dc53d5 6.6.0