$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-173429-59011/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-173429-59011/root/chroot_tmpdir/scmroot/cryptsetup'... $ git reset --hard 18924df05219973a0a3efe08fbd30f3c783116ca HEAD is now at 18924df update file list