mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 00:41:33 +00:00
Automatically init git in SnapshotProvider
This commit is contained in:
parent
c279b2517f
commit
2f5e8d11f3
@ -21,7 +21,9 @@ class SnapshotProvider:
|
|||||||
self._branch = 'master'
|
self._branch = 'master'
|
||||||
self._branches = [self._branch]
|
self._branches = [self._branch]
|
||||||
|
|
||||||
def init_repo(self):
|
self._init_repo()
|
||||||
|
|
||||||
|
def _init_repo(self):
|
||||||
self._run(('git', 'init'))
|
self._run(('git', 'init'))
|
||||||
|
|
||||||
def take_snapshot(self):
|
def take_snapshot(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user