$ git clone -n https://gitee.com/Weisson/centos2anolis.git /var/lib/mock/dist-an7_9-updates-build-166772-52034/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an7_9-updates-build-166772-52034/root/chroot_tmpdir/scmroot/centos2anolis'... $ git reset --hard 90a3addc78fd9286bde1d05b7660a1b89483d027 HEAD is now at 90a3add [Bugfix] Third-party repository may not be catched when there are several.