PDA

View Full Version : use git to download part of a package



gold
23rd January 2008, 02:26 AM
I need to download the contents at this location: http://git.kernel.org/?p=git/git.git;a=tree;hb=HEAD;f=contrib/emacs

I just need "git/git.git/contrib/emacs" folder. I don't want the whole git dev version. I have installed the git client. What command you I have to issue to get content?

pete_1967
23rd January 2008, 02:33 AM
Never used git, but you probably can checkout just the directory using regular checkout command in it (work on CVS and SVN).