$ git clone -n https://gitee.com/xiaolunfhb/anolis-release20220512164422.git /var/lib/mock/dist-an8.4-build-89290-44897/root/chroot_tmpdir/scmroot/anolis-release20220512164422 Cloning into '/var/lib/mock/dist-an8.4-build-89290-44897/root/chroot_tmpdir/scmroot/anolis-release20220512164422'... $ git reset --hard origin/a8.4 HEAD is now at 609f29d anRel commit