$ git clone -n https://gitee.com/src-anolis-os/fstrm.git /var/lib/mock/dist-an23-build-253904-63545/root/chroot_tmpdir/scmroot/fstrm Cloning into '/var/lib/mock/dist-an23-build-253904-63545/root/chroot_tmpdir/scmroot/fstrm'... $ git reset --hard origin/a23 HEAD is now at 05be2d6 change spec file format and generate abi files