Class: Nanoc3::Extra::VCSes::Git
- Nanoc3::Plugin
- Nanoc3::Extra::VCS
- Nanoc3::Extra::VCSes::Git
Constants Inherited from Nanoc3::Plugin
Public Visibility
Public Class Methods Inherited from Nanoc3::Extra::VCS
Public Class Methods Inherited from Nanoc3::Plugin
Public Instance Method Details
add
public
add(filename)
[View source]
7 8 9 |
# File 'lib/nanoc3/extra/vcses/git.rb', line 7 def add(filename) system('git', 'add', filename) end |
move
public
move(src, dst)
[View source]
15 16 17 |
# File 'lib/nanoc3/extra/vcses/git.rb', line 15 def move(src, dst) system('git', 'mv', src, dst) end |
remove
public
remove(filename)
[View source]
11 12 13 |
# File 'lib/nanoc3/extra/vcses/git.rb', line 11 def remove(filename) system('git', 'rm', filename) end |