$ git clone -n https://gitee.com/src-anolis-sig/keentune_bench.git /var/lib/mock/dist-an8.4-keentune-build-73593-38712/root/chroot_tmpdir/scmroot/keentune_bench Cloning into '/var/lib/mock/dist-an8.4-keentune-build-73593-38712/root/chroot_tmpdir/scmroot/keentune_bench'... $ git reset --hard origin/master HEAD is now at b472843 fix bug: redundant directory build $ /bin/sh -c if [ -f download ];then wget $(cat download);fi