Sha256: b88449d2b3854d0ba8be0642b47e538a791324860548615758c9f851d1113de7
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
# encoding: UTF-8 module Rosette module Core module Commands # Performs a git fetch on a repository. New branches and commits will # be downloaded from the remote server (often called "origin") and # become part of the local copy. # # @example # FetchCommand.new(configuration) # .set_repo_name('my_repo') # .execute class FetchCommand < GitCommand include WithRepoName # Perform the fetch operation. # @return [Java::OrgEclipseJgitTransport::FetchResult] def execute get_repo(repo_name).repo.fetch end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rosette-core-1.0.1 | lib/rosette/core/commands/git/fetch_command.rb |