Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8481443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:33:34+00:00 2026-06-10T19:33:34+00:00

I am looking for a gem that will let me issue some pull requests

  • 0

I am looking for a gem that will let me issue some pull requests on a Git Repository, and download the files, of a branch. I am using this one https://github.com/peter-murach/github#readme but I cannot seem to find a ‘fetch/pull’ request. any help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:33:36+00:00Added an answer on June 10, 2026 at 7:33 pm

    You’re looking for the git gem

    sudo gem install git
    

    Here’s how you work with it (taken from the README):

       g = Git.init
         Git.init('project')
         Git.init('/home/schacon/proj', 
              { :git_dir => '/opt/git/proj.git', 
                 :index_file => '/tmp/index'} )
    
       g = Git.clone(URI, :name => 'name', :path => '/tmp/checkout')   
       g.config('user.name', 'Scott Chacon')
       g.config('user.email', 'email@email.com')      
    
       g.add('.')
       g.add([file1, file2])
    
       g.remove('file.txt')
       g.remove(['file.txt', 'file2.txt'])
    
       g.commit('message')
       g.commit_all('message')
    
       g = Git.clone(repo, 'myrepo')
       g.chdir do
        new_file('test-file', 'blahblahblah')
        g.status.changed.each do |file|
         puts file.blob(:index).contents
        end
       end
    
       g.reset # defaults to HEAD
       g.reset_hard(Git::Commit)
    
       g.branch('new_branch') # creates new or fetches existing
       g.branch('new_branch').checkout
       g.branch('new_branch').delete
       g.branch('existing_branch').checkout
    
       g.checkout('new_branch')
       g.checkout(g.branch('new_branch'))
    
       g.branch(name).merge(branch2)
       g.branch(branch2).merge  # merges HEAD with branch2
    
       g.branch(name).in_branch(message) { # add files }  # auto-commits
       g.merge('new_branch')
       g.merge('origin/remote_branch')
       g.merge(g.branch('master'))
       g.merge([branch1, branch2])
    
       r = g.add_remote(name, uri)  # Git::Remote
       r = g.add_remote(name, Git::Base)  # Git::Remote
    
       g.remotes  # array of Git::Remotes
       g.remote(name).fetch
       g.remote(name).remove
       g.remote(name).merge
       g.remote(name).merge(branch)
    
       g.fetch
       g.fetch(g.remotes.first)
    
       g.pull
       g.pull(Git::Repo, Git::Branch) # fetch and a merge
    
       g.add_tag('tag_name') # returns Git::Tag
    
       g.repack
    
       g.push
       g.push(g.remote('name'))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a gem that will allow users to request an invite,
I am looking for a helper class/method/gem that's out there that will help me
I'm looking for a lightweight gem that will allow me to do Adaptive Payments
I am looking for a gem that can compare two strings (in this case
I'm looking for a plugin or gem that has the picture of letters or
I'm looking to include a Windows .exe in my gem and call on that
Does anyone know of a gamification gem? I'm looking for something that can provide
While looking through some old code I came across this gem: MyObject o =
I am looking for a good gem/plugin to convert user-uploaded audio files to different
I'm looking for a Wiki Gem for RoR that has: basic Wiki features (obviously),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.