$ git clone -n https://gitee.com/fundawang/libgit2.git /var/lib/mock/dist-an23-build-285142-64769/root/chroot_tmpdir/scmroot/libgit2 Cloning into '/var/lib/mock/dist-an23-build-285142-64769/root/chroot_tmpdir/scmroot/libgit2'... $ git reset --hard ff4a7001317e39621a3eeff022d1b9e909bb98a6 HEAD is now at ff4a700 1.6.4 $ git lfs pull