3

How can I download a file (or clone the repo) from a secure Git Repo (e.g. SSH on GitHub), then commit changes back to the repo using Ruby Grit? Thanks!

Jacob Foshee
  • 2,704
  • 2
  • 29
  • 48

1 Answers1

3

Grit gives you object oriented read/write access to Git repositories via Ruby.
-- http://grit.rubyforge.org/

Grit is just for interacting with a local repo, it doesn't manage remote ops (clone/push/pull/fetch) for you.

Tekkub
  • 30,739
  • 2
  • 30
  • 20
  • I see. Would you suggest I use ruby-git? The reason I leaned towards grit was because the author said ruby-git is no longer being maintained, and he is working on grit: https://github.com/schacon/ruby-git/wiki. – Jacob Foshee May 10 '11 at 23:41
  • I'd suggest straight up git. You still have to have git for grit anyway. – Tekkub May 11 '11 at 01:48