$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-351626-70932/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-351626-70932/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard cfb25f95a50aa0c1cec45fecf7c0a99e4e3457ee HEAD is now at cfb25f9 2.7.0