How to properly deal with old fork pr's ? #177948
Answered
by
Omkumar2003
Komal199824
asked this question in
Pull Requests
-
|
Well, I’m new to GitHub. |
Beta Was this translation helpful? Give feedback.
Answered by
Omkumar2003
Oct 25, 2025
Replies: 2 comments
-
|
i also had the same doubt ...this is the workflow i used ...i hope it helps you
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Komal199824
-
|
Haz un revert |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i also had the same doubt ...this is the workflow i used ...i hope it helps you
git checkout mainmainbranch and pull the latest changes from the remote.git pull origin maingh pr listpr-2, and switch to it.git fetch origin pull/2/head:pr-2git checkout pr-2git rebase mainmain.git checkout maingit merge pr-2git diff main..pr-2