$ git clone -n https://gitee.com/src-anolis-os/gssdp.git /var/lib/mock/dist-an23-build-156357-58313/root/chroot_tmpdir/scmroot/gssdp Cloning into '/var/lib/mock/dist-an23-build-156357-58313/root/chroot_tmpdir/scmroot/gssdp'... $ git reset --hard origin/a23 HEAD is now at c3a31d0 optimise spec file