centic9 / jgit-cookbook

Provides examples and code snippets for the JGit Java Git implementation
Apache License 2.0
1.76k stars 507 forks source link

how to read content from remote repo #50

Closed johnsonin closed 6 years ago

johnsonin commented 6 years ago

i just want to read content from a file in the remote repo..I do not want to clone the repo first. i find no idea to do this. thx..

centic9 commented 6 years ago

Note: Please use sites such as http://stackoverflow.com for general questions about JGit usage, not issues in this project. Issues should be used for problems with snippets and suggestions of missing snippets. Snippets from good answers on stackoverflow can then be included here, naturally.