$ git clone -n https://gitee.com/src-anolis-os/mdadm.git /var/lib/mock/dist-an8-build-63270-35198/root/chroot_tmpdir/scmroot/mdadm Cloning into '/var/lib/mock/dist-an8-build-63270-35198/root/chroot_tmpdir/scmroot/mdadm'... $ git reset --hard origin/a8 HEAD is now at bd32a9c update to mdadm-4.2-rc1_1.el8