$ git clone -n https://gitee.com/src-anolis-os/ancert.git /var/lib/mock/dist-an23-build-243811-63155/root/chroot_tmpdir/scmroot/ancert Cloning into '/var/lib/mock/dist-an23-build-243811-63155/root/chroot_tmpdir/scmroot/ancert'... $ git reset --hard origin/a23 HEAD is now at e656857 add a23 ancert tar and spec