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