$ git clone -n https://gitee.com/src-opencloudos-rpms/osinfo-db /var/lib/mock/dist-oc8-build-27711-8538/root/chroot_tmpdir/scmroot/osinfo-db Cloning into '/var/lib/mock/dist-oc8-build-27711-8538/root/chroot_tmpdir/scmroot/osinfo-db'... $ git reset --hard origin/oc8 HEAD is now at eab17c3 import osinfo-db-20220727-2.tl3