$ git clone -n https://gitee.com/src-anolis-os/lorax.git /var/lib/mock/dist-an23-build-81353-41108/root/chroot_tmpdir/scmroot/lorax Cloning into '/var/lib/mock/dist-an23-build-81353-41108/root/chroot_tmpdir/scmroot/lorax'... $ git reset --hard origin/a23-develop HEAD is now at 7d7f779 删除: anolis-container-common.ks