Jump to content
  • Advertisement
Sign in to follow this  
djsteffey

Java library to interact with github

This topic is 646 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need a Java library that will help with the following situation:

 

- I need to execute a git clone from github.com to the local filesystem

- I will then modify files in my program

- On program exit I need to execute a git push of the changed files

 

I can't do it from the command line (and a git command will not be installed) so a ProcessBuilder solution is not viable.  I have looked at the Github API at https://developer.github.com/v3/ but it looks like it is just interacting with the repos and I don't see an actual way to execute a clone or a push.

 

 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!