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