Sha256: e454f57e0bfca2c32c5fe29c8b92e5660a5ac2dbd2f275a9830a03429d6ca40d
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
#!/usr/bin/env ruby require "bundler/inline" gemfile do source "https://rubygems.org" gem "multi_repo", require: "multi_repo/cli", path: File.expand_path("..", __dir__) end opts = Optimist.options do opt :checkout, "Branch to checkout after fetching.", :type => :string MultiRepo::CLI.common_options(self, :except => :dry_run) end MultiRepo::CLI.each_repo(**opts) do |repo| repo.git.fetch repo.git.hard_checkout(opts[:checkout]) if opts[:checkout] end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
multi_repo-0.2.1 | scripts/fetch_repos |
multi_repo-0.2.0 | scripts/fetch_repos |
multi_repo-0.1.2 | scripts/fetch_repos |
multi_repo-0.1.1 | scripts/fetch_repos |
multi_repo-0.1.0 | scripts/fetch_repos |