|
@@ -100,7 +100,7 @@ class GitlabIE(BasePlatform):
|
|
|
)
|
|
|
result = subprocess.run(['git', 'symbolic-ref', '--short', 'HEAD'], capture_output=True, text=True)
|
|
|
current_branch = result.stdout.strip()
|
|
|
- os.system(f'git pull -u origin_gitlab {current_branch}')
|
|
|
+ os.system(f'git pull origin_gitlab {current_branch}')
|
|
|
os.system("git remote remove origin_gitlab")
|
|
|
os.chdir("..")
|
|
|
print(f"pull repo:{self.username}/{repo_name} from gitlab success")
|
|
@@ -125,7 +125,7 @@ class GitlabIE(BasePlatform):
|
|
|
)
|
|
|
result = subprocess.run(['git', 'symbolic-ref', '--short', 'HEAD'], capture_output=True, text=True)
|
|
|
current_branch = result.stdout.strip()
|
|
|
- os.system(f'git pull -u origin_gitlab {current_branch}')
|
|
|
+ os.system(f'git pull origin_gitlab {current_branch}')
|
|
|
|
|
|
os.system(f"git push -u origin_gitlab {current_branch}")
|
|
|
os.system("git remote remove origin_gitlab")
|