$ git clone -n https://gitee.com/src-opencloudos-rpms/cryptsetup.git /var/lib/mock/dist-oc8-build-38459-12472/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-oc8-build-38459-12472/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard origin/oc8 HEAD is now at 9e51857 import cryptsetup-2.3.7-5.tl3