Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need documentation for how to clone a git repo to the disk #196

Closed
madhephaestus opened this issue Jun 6, 2015 · 3 comments
Closed

Need documentation for how to clone a git repo to the disk #196

madhephaestus opened this issue Jun 6, 2015 · 3 comments

Comments

@madhephaestus
Copy link
Contributor

I can not find the API equivalent of 'git clone .git' to pull the full contents of a repository to the local disk. I would also like to read from the dist a repository for local caching of files. Is this possible with github-api?

@KostyaSha
Copy link
Contributor

Github is only library to API, if you learn github api pages you will see that it provides only url to git repository. For git you can use jgit.

@KostyaSha KostyaSha mentioned this issue Oct 26, 2015
@kohsuke
Copy link
Collaborator

kohsuke commented Dec 1, 2015

As Kostya says, GHRepository.gitHttpTransportUrl() is where this library ends.

@kohsuke kohsuke closed this as completed Dec 1, 2015
@madhephaestus
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants