$ git clone -n https://gitee.com/src-anolis-sig/centos2anolis.git /var/lib/mock/dist-an7-plus-build-213616-60068/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an7-plus-build-213616-60068/root/chroot_tmpdir/scmroot/centos2anolis'... $ git reset --hard origin/a7 HEAD is now at c1407e5 [Bugfix] Can not set custom json file when use check.