class Twigg::Command::Git

Private Instance Methods

gc() click to toggle source
# File lib/twigg/command/git.rb, line 14
def gc
  for_each_repo do |project|
    Dir.chdir project do
      git 'gc', '--quiet'
    end
  end
end
projects() click to toggle source
# File lib/twigg/command/git.rb, line 10
def projects
  @projects ||= RepoSet.new(@repositories_directory).repos.map(&:name)
end
sub_subcommands() click to toggle source
# File lib/twigg/command/git.rb, line 6
def sub_subcommands
  %w[gc]
end