$ git clone -n https://gitee.com/src-anolis-os/ding-libs.git /var/lib/mock/dist-an23-build-250260-63368/root/chroot_tmpdir/scmroot/ding-libs Cloning into '/var/lib/mock/dist-an23-build-250260-63368/root/chroot_tmpdir/scmroot/ding-libs'... $ git reset --hard origin/a23 HEAD is now at 8e8d733 Optimize the spec file