aboutsummaryrefslogtreecommitdiff
path: root/lib/backend/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backend/git.rb')
-rw-r--r--lib/backend/git.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/backend/git.rb b/lib/backend/git.rb
index 4ce016d..3ca2d60 100644
--- a/lib/backend/git.rb
+++ b/lib/backend/git.rb
@@ -36,5 +36,13 @@ module Backend
def clone(url, path)
@git = ::Git.clone(url, path)
end
+
+ def add(pattern)
+ @git.add(pattern)
+ end
+
+ def commit(message)
+ @git.commit(message)
+ end
end
end