$ git clone -n https://gitee.com/src-opencloudos-rpms/libsolv /var/lib/mock/dist-oc8-build-32214-9715/root/chroot_tmpdir/scmroot/libsolv Cloning into '/var/lib/mock/dist-oc8-build-32214-9715/root/chroot_tmpdir/scmroot/libsolv'... $ git reset --hard origin/oc8 HEAD is now at 12d7ec2 import libsolv-0.7.20-3.tl3