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