Re: [Vim-latex-devel] Can I clone just the vimfiles directory?
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2011-03-07 22:54:01
|
> It looks like you can edit $GIT_DIR/info/sparse-checkouts to specify > things that you don't want. You need to turn on core.sparseCheckout > (e.g., in your .gitconfig) to turn this feature on though. I verified this... "works"... In .gitconfig: [core] sparseCheckout=1 Then: $ cd $HOME $ git clone git://vim-latex.git.sourceforge.net/gitroot/vim-latex/vim-latex $ echo vimfiles > vim-latex/.git/info/sparse-checkout $ cd vim-latex $ git reset --hard $ ls # only vimfiles and .git show That's not quite like what you'd expect from SVN, but maybe you can do something with that... -- Ted Pavlic <te...@te...> |