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