Skip to content

Commit 01857a1

Browse files
committed
Update
[ghstack-poisoned]
1 parent b00c638 commit 01857a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ghstack/land.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def main(
168168
# TODO: regex here so janky
169169
base_ref = re.sub(r"/orig$", "/base", orig_ref)
170170
head_ref = re.sub(r"/orig$", "/head", orig_ref)
171-
sh.git("push", remote_name, f"{remote_name}/{head_ref}:{base_ref}")
171+
sh.git("push", remote_name, f"{remote_name}/{head_ref}:refs/heads/{base_ref}")
172172
github.notify_merged(pr_resolved)
173173

174174
# All good! Push!

0 commit comments

Comments
 (0)