$ git clone -n https://gitee.com/src-opencloudos-rpms/opencryptoki.git /var/lib/mock/dist-oc8-build-34429-10869/root/chroot_tmpdir/scmroot/opencryptoki Cloning into '/var/lib/mock/dist-oc8-build-34429-10869/root/chroot_tmpdir/scmroot/opencryptoki'... $ git reset --hard e8a894f8adc2780dc8e430771aedff461fd1b093 HEAD is now at e8a894f import opencryptoki-3.18.0-5.oc8