FriendCode/gittle

get one file

Closed this issue · 2 comments

Hello gittle team!

Is there a way to get only one file of one specific branch?

Thanks,

regards

I'm not sure if this functionality is exposed in gittle, but Dulwich (which gittle uses for heavy-lifting) can do this. See http://www.aaronheld.com/post/using-python-dulwich-to-load-any-version-of-a-file-from-a-local-git-repo

Ok, thanks for your reply!