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