Skip to content

Commit 55385c2

Browse files
committed
Did a thing
1 parent 6237b14 commit 55385c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

repo_sync.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def main(branch: Annotated[str, typer.Option(envvar="GITHUB_REF_NAME")],
3434
# Use a local path for testing
3535
# git_destination_url_with_token = "path_to_local_git"
3636

37+
# Taken from SO: https://stackoverflow.com/a/69979203
38+
subprocess.run(["git", "config", "--unset-all", "http.https://github.com/.extraheader"], check=True)
3739
# Push the code upstream
3840
subprocess.run(["git", "push", git_destination_url_with_token, branch], check=True)
3941

0 commit comments

Comments
 (0)