Skip to content

Instantly share code, notes, and snippets.

import atexit
import subprocess
import sys
import tempfile
import textwrap
from pathlib import Path
import shlex
from rich import print
@sbidoul
sbidoul / port-pr.py
Last active June 29, 2024 03:12
Port a PR to another branch
#!/usr/bin/python3
import json
import argparse
import os
import re
import shlex
import shutil
import subprocess
import tempfile
import textwrap

Keybase proof

I hereby claim:

  • I am sbidoul on github.
  • I am sbi (https://keybase.io/sbi) on keybase.
  • I have a public key whose fingerprint is DC38 4938 7DFA 37D5 0CCB 1170 ABC7 BD81 24E1 2FC7

To claim this, I am signing this object: