$ git clone -n https://src.fedoraproject.org/rpms/kwin-x11.git /var/lib/mock/f42-build-862530-170850/root/chroot_tmpdir/scmroot/kwin-x11 Cloning into '/var/lib/mock/f42-build-862530-170850/root/chroot_tmpdir/scmroot/kwin-x11'... $ git fetch origin dd548f9c527c02a70e86b82a0c9932937e2758c0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kwin-x11 * [new ref] dd548f9c527c02a70e86b82a0c9932937e2758c0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dd548f9 Update to 6.2.4.