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