开发者

Download and modify file from Git Repository using Ruby Grit over SSH

开发者 https://www.devze.com 2023-03-04 20:02 出处:网络
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开发者_JAVA百科 repo using Ruby Grit?

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开发者_JAVA百科 repo using Ruby Grit? Thanks!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消