We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b00c638 commit 1ae9f17Copy full SHA for 1ae9f17
src/ghstack/land.py
@@ -168,7 +168,7 @@ def main(
168
# TODO: regex here so janky
169
base_ref = re.sub(r"/orig$", "/base", orig_ref)
170
head_ref = re.sub(r"/orig$", "/head", orig_ref)
171
- sh.git("push", remote_name, f"{remote_name}/{head_ref}:{base_ref}")
+ sh.git("push", remote_name, f"{remote_name}/{head_ref}:refs/heads/{base_ref}")
172
github.notify_merged(pr_resolved)
173
174
# All good! Push!
0 commit comments