$ git clone -n https://gitee.com/src-anolis-os/ancert.git /var/lib/mock/dist-an8.7-build-269743-64112/root/chroot_tmpdir/scmroot/ancert Cloning into '/var/lib/mock/dist-an8.7-build-269743-64112/root/chroot_tmpdir/scmroot/ancert'... $ git reset --hard origin/a8 HEAD is now at 49bb501 add ancert source code and spec