$ git clone -n https://gitee.com/src-opencloudos-rpms/libsolv /var/lib/mock/dist-oc8-build-32136-9648/root/chroot_tmpdir/scmroot/libsolv Cloning into '/var/lib/mock/dist-oc8-build-32136-9648/root/chroot_tmpdir/scmroot/libsolv'... $ git reset --hard origin/oc8 HEAD is now at cbafb5d import libsolv-0.7.20-1.oc8