$ git clone -n https://gitee.com/src-opencloudos-rpms/libkcapi /var/lib/mock/dist-oc8-build-11821-1879/root/chroot_tmpdir/scmroot/libkcapi Cloning into '/var/lib/mock/dist-oc8-build-11821-1879/root/chroot_tmpdir/scmroot/libkcapi'... $ git reset --hard 854d1ac35377e81edf3379e7b80d99615592e78c HEAD is now at 854d1ac import libkcapi-1.2.0-2.oc8