$ git clone -n https://gitee.com/src-opencloudos-rpms/qt5-qtimageformats /var/lib/mock/dist-oc8-build-27767-8572/root/chroot_tmpdir/scmroot/qt5-qtimageformats Cloning into '/var/lib/mock/dist-oc8-build-27767-8572/root/chroot_tmpdir/scmroot/qt5-qtimageformats'... $ git reset --hard origin/oc8 HEAD is now at 6eb9d0e import qt5-qtimageformats-5.15.3-1.tl3