File size: 447 Bytes
303fdae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import subprocess

def run_cmd(cmd):
    print(f"Running: {' '.join(cmd)}")
    result = subprocess.run(cmd, capture_output=True, text=True)
    print("STDOUT:", result.stdout)
    print("STDERR:", result.stderr)
    return result.returncode

# Checkout main
run_cmd(["git", "checkout", "main"])

# Merge the branch
run_cmd(["git", "merge", "jules-14141810205007445021-83c177a6"])

# Push to origin main
run_cmd(["git", "push", "origin", "main"])