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