Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit 40bac8b

Browse files
authored
Merge pull request #114 from rgarrigue/patch-1
Track the pushed branch
2 parents 7db58cc + 513a491 commit 40bac8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git_pull_request/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,8 @@ def fork_and_push_pull_request(
622622
[
623623
"git",
624624
"push",
625-
"-f",
625+
"--set-upstream",
626+
"--force",
626627
remote_to_push,
627628
"{}:{}".format(branch, remote_branch),
628629
]

0 commit comments

Comments
 (0)