We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2c6dd8 + 81a0ad2 commit 7c73d4bCopy full SHA for 7c73d4b
elekto/models/meta.py
@@ -42,10 +42,10 @@ def __init__(self, config):
42
".format(self.META, self.META)
43
44
def clone(self):
45
- os.system('{} clone {} {}'.format(self.git, self.REMOTE, self.META))
+ os.system('{} clone -b {} -- {} {}'.format(self.git, self.BRANCH, self.REMOTE, self.META))
46
47
def pull(self):
48
- os.system('{} pull origin {}'.format(self.pref, self.BRANCH))
+ os.system('{} pull --ff-only origin {}'.format(self.pref, self.BRANCH))
49
50
51
class Election(Meta):
0 commit comments