$ git clone -n https://gitee.com/happy_orange/perl-YAML.git /var/lib/mock/dist-an23-build-342052-69941/root/chroot_tmpdir/scmroot/perl-YAML Cloning into '/var/lib/mock/dist-an23-build-342052-69941/root/chroot_tmpdir/scmroot/perl-YAML'... $ git fetch origin 0695c467ba5fa3973b3d16e40b3bc59e9e92aad5:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/perl-YAML * [new ref] 0695c467ba5fa3973b3d16e40b3bc59e9e92aad5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0695c46 fix the source url error