$ git clone -n https://gitee.com/src-opencloudos-rpms/qt5-qtxmlpatterns /var/lib/mock/dist-oc8-build-30223-8883/root/chroot_tmpdir/scmroot/qt5-qtxmlpatterns Cloning into '/var/lib/mock/dist-oc8-build-30223-8883/root/chroot_tmpdir/scmroot/qt5-qtxmlpatterns'... $ git reset --hard origin/oc8 HEAD is now at 8e46aa1 import qt5-qtxmlpatterns-5.15.3-1.oc8