how do i create a 2nd PR in a stack if the parent ...
# how-do-i
a
how do i create a 2nd PR in a stack if the parent PR is already merged (because i want to group the changes or something?) or is this unsupported (whether intentionally or not)? my coworker had a PR that was merged, and she tried to do
gt create <name>
on the PR, but every time she tried to do
gt submit
(or
gt submit --stack
), she'd get an error? have put (part of) the log in the thread 🧵
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
a
Copy code
🥞 Validating that this Graphite stack is ready to submit...
WARNING: This branch does not introduce any changes:
â–¸ fix-integration-v2-duplicate-matters
WARNING: This branch and any dependent branches will not be submitted, as GitHub does not allow empty PRs.
WARNING: In order to submit, commit some changes to it or delete it and try again.
Nothing to submit!
p
hey again Ally, yeah this is unsupported behavior at present as getting that merged branch fetches it without any changes in it and GitHub does not allow empty PRs. As its PR has already merged you'd need to create a new PR for that branch, which would be a separate stack.
a
cool, thought so - thank you!