$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-173423-59011/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-173423-59011/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard 5a17ec703c01c28c6a07138eac0d2fc51953e4d2 HEAD is now at 5a17ec7 update doc list