$ git clone -n https://gitee.com/src-anolis-os/qt5-qtwebsockets.git /var/lib/mock/dist-an23-build-341955-69934/root/chroot_tmpdir/scmroot/qt5-qtwebsockets Cloning into '/var/lib/mock/dist-an23-build-341955-69934/root/chroot_tmpdir/scmroot/qt5-qtwebsockets'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/qt5-qtwebsockets * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e31e48 fix the source url error