$ git clone -n https://gitee.com/src-opencloudos-rpms/qt5-qttools /var/lib/mock/dist-oc8-build-30154-8823/root/chroot_tmpdir/scmroot/qt5-qttools Cloning into '/var/lib/mock/dist-oc8-build-30154-8823/root/chroot_tmpdir/scmroot/qt5-qttools'... $ git reset --hard origin/oc8 HEAD is now at 14d5f6b import qt5-qttools-5.15.3-2.oc8