$ git clone -n https://gitee.com/src-anolis-os/qt5-qtwebsockets.git /mnt/mock/kojid//dist-an23.3-riscv-build-439262-73130/root/chroot_tmpdir/scmroot/qt5-qtwebsockets Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439262-73130/root/chroot_tmpdir/scmroot/qt5-qtwebsockets'... $ git fetch origin 2e31e48e3e492830dc4e60d477004f0b428b0222:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/qt5-qtwebsockets * [new ref] 2e31e48e3e492830dc4e60d477004f0b428b0222 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e31e48 fix the source url error