$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-173540-59011/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-173540-59011/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard e58bbf61afaec48049c5f495aea62bf5cfaff3ec HEAD is now at e58bbf6 2.6.0