Sha256: 911afd0f0d7761d67c5621d8d439abc25a6985c9269eed910ebbf2033b8b2684

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

module Neptuno
  module Git
    # Stash all submodule changes
    class Stash < Neptuno::CLI::Base
      desc "Git: stash all submodule changes"

      def call(services: [], **_options)
        system("git submodule foreach git stash")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
neptuno-1.5.0 lib/neptuno/git/stash.rb
neptuno-1.4.10 lib/neptuno/git/stash.rb
neptuno-1.2.1 lib/neptuno/git/stash.rb
neptuno-1.2.0 lib/neptuno/git/stash.rb