$ git clone -n https://gitee.com/src-opencloudos-rpms/libXpm.git /var/lib/mock/dist-oc8-build-34861-11269/root/chroot_tmpdir/scmroot/libXpm Cloning into '/var/lib/mock/dist-oc8-build-34861-11269/root/chroot_tmpdir/scmroot/libXpm'... $ git reset --hard 14e2fdbe6daeea72579f3a071185022151471a5a HEAD is now at 14e2fdb import libXpm-3.5.12-9.oc8