$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-214479-61978/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-214479-61978/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard 25f9fd3bd820974584981539689f2762ed337b71 HEAD is now at 25f9fd3 2.6.1