$ git clone -n https://gitee.com/gaohongmei/cryptsetup.git /var/lib/mock/dist-an23-build-212326-61940/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-212326-61940/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard 3ad2e32987aa0924fa99c67c4642a3d47aed8508 HEAD is now at 3ad2e32 2.6.0