lib/github_records_archiver/git_repository.rb
# Run a git command, piping output to stdout
Run a git command, piping output to stdout
Run a git command piping output to stdout
def git(*args)
      output, status = Open3.capture2e('git', *args)
      fail GitError, output if status.exitstatus != 0
      output
    end
def git ( * args ) output , status = Open3 . capture2e ( 'git' , * args ) fail GitError , output if status . exitstatus != 0 output end
Run a git command, piping output to stdout
Run a git command piping output to stdout
args
<not_specific>