RPCS3 Forums
How to handle Pull Requests - Printable Version

+- RPCS3 Forums (https://forums.rpcs3.net)
+-- Forum: Community (https://forums.rpcs3.net/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.rpcs3.net/forumdisplay.php?fid=16)
+--- Thread: How to handle Pull Requests (/showthread.php?tid=174438)

Pages: 1 2


RE: How to handle Pull Requests - markus - 04-07-2016

Well, I finally figured out why I was having so many problems.

I kept using git pull to get updates from upstream (RPCS3/rpcs3) BUT that just does git fetch and git merge in sequence, and what I really wanted was git fetch and git rebase. Luckily, there is a way to do just that:

Code:
git pull --rebase upstream master

That fetches from upstream (assuming you have defined upstream in git remote) puts it on your master and plays your commits on top of the new updates. This ensures that A) no merge commits and B) your commits are always on top.

I'll edit my OP with this info.