Sha256: b72e7557971c5ba44ee152ea0ed9c1f034997f9ec2e24a7fa97555a22270d52a

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

module Nanoc2::Extra::VCSes

  class Git < Nanoc2::Extra::VCS

    identifiers :git

    def add(filename)
      system('git', 'add', filename)
    end

    def remove(filename)
      system('git', 'rm', filename)
    end

    def move(src, dst)
      system('git', 'mv', src, dst)
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/extra/vcses/git.rb