On Wed, Dec 1, 2010 at 12:40 AM, dan <dan...@gmail.com> wrote: > I try to make git archive of a directory inside a github repository > and it returns me a generic error. > In my situation (we need an automatic process to do this) I need to > download from a remote repository only a directory and one solution is > to use git archive. > Because in github I've understood that it is disabled, is there > another solution? (the final one would be to clone the entire > repository and extract only the directory I need, but it is so awful : > (
It's really not *that* awful. If you clone it once and then just use 'git fetch' for all future downloads, the amount of data you'll download is pretty tiny. Another option would be to just host a copy of your repo somewhere else; maybe repo.or.cz will do it for you, since they have a mirroring feature. (I haven't checked if repo supports git-archive or not.) Avery -- You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to git...@googlegroups.com. To unsubscribe from this group, send email to github+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/github?hl=en.