$ git clone -n https://gitee.com/src-anolis-os/dmidecode.git /var/lib/mock/dist-an8-build-80486-41017/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/dist-an8-build-80486-41017/root/chroot_tmpdir/scmroot/dmidecode'... $ git reset --hard origin/a8 HEAD is now at 13ce788 Patch: dmidecode Add new memory device types from SMBIOS spec 3.4.0