$ git clone -n https://gitee.com/lxpzlm/hwdata.git /var/lib/mock/dist-an8_8-el9-build-167778-58829/root/chroot_tmpdir/scmroot/hwdata Cloning into '/var/lib/mock/dist-an8_8-el9-build-167778-58829/root/chroot_tmpdir/scmroot/hwdata'... $ git reset --hard origin/a8 HEAD is now at 433c211 update to hwdata-0.348-9.5.el9.src.rpm