$ git clone -n https://gitee.com/src-anolis-os/osinfo-db.git /var/lib/mock/dist-an8-build-63553-35483/root/chroot_tmpdir/scmroot/osinfo-db Cloning into '/var/lib/mock/dist-an8-build-63553-35483/root/chroot_tmpdir/scmroot/osinfo-db'... $ git reset --hard origin/a8 HEAD is now at fef1efe update to osinfo-db-20210903-1.el8