Skip to content

Instantly share code, notes, and snippets.

@mkaraki
Created March 29, 2024 13:53
Show Gist options
  • Save mkaraki/ff631ec3a273c26f4a1843783a00c492 to your computer and use it in GitHub Desktop.
Save mkaraki/ff631ec3a273c26f4a1843783a00c492 to your computer and use it in GitHub Desktop.

Merge someone's repo's PR to your fork

Add someone's repo's contributer's repository (Fork repo that you want to merge) to remote list.

git remote add github--contributer--fork-repo https://github.com/contributer/fork-repo.git

Fetch branch that you want to merge

git fetch github--contributer--fork-repo awesome-patch-branch

Merge it

git merge github--contributer--fork-repo/awesome-patch-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment