2

I am working on a web application where a user will modify a file (hosted on GitHub) and should have the ability to save directly to GitHub.

I don't need to handle this client-side so a server-side Ruby solution would be fine. I'm assuming I would need to work with some sort of GitHub API.

How would I go about doing this?

1
  • Were you ever able to do this? Commented Sep 27, 2013 at 20:26

2 Answers 2

2

The ruby git gem is what you need. It can do virtually anything you want with a local or remote git repository, including new commits, diffs, branches, tags, pushing to GitHub, you name it.

Sign up to request clarification or add additional context in comments.

Comments

0

Search google for "ruby github gem" and "ruby git gem". If not found, use system("git...") to invoke the git command line utility.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.