$ git clone -n https://gitee.com/src-anolis-os/anaconda.git /var/lib/mock/dist-an8.2-build-72436-36999/root/chroot_tmpdir/scmroot/anaconda Cloning into '/var/lib/mock/dist-an8.2-build-72436-36999/root/chroot_tmpdir/scmroot/anaconda'... $ git reset --hard origin/a8.2 HEAD is now at 2ed2bc9 install: do not clean packageList