$ git clone -n https://gitee.com/happy_orange/python-kmod.git /var/lib/mock/dist-an23-build-342041-69941/root/chroot_tmpdir/scmroot/python-kmod Cloning into '/var/lib/mock/dist-an23-build-342041-69941/root/chroot_tmpdir/scmroot/python-kmod'... $ git reset --hard f05c7e00eb68531eb3bcf1fd476d5249000efbce HEAD is now at f05c7e0 fix the source url error