Dolphin, the GameCube and Wii emulator - Forums

Full Version: How do I create a pull request?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know this is a pretty newb question, but I don't really know git or Github. Not going to lie, I've always hated git, I find mercurial much easier to use. That aside, I have a change I'd like to commit. It's small, I've tested it on my machine and it appears to work. I've made a local branch with the change and committed it locally, but when I try to push to GitHub I get a 403 error. The GitHub tutorials are no help because they seem to assume that your branch is already visible from the web UI.

So what steps do I need to take to (hopefully) get my change committed to master?
First of all, you have to create a fork on GitHub. I think you just have to go to https://github.com/dolphin-emu/dolphin and press the Fork button to get that done. Second, you'll need to push your local branch to the fork you've created on GitHub. If you haven't started working on your code yet, I would recommend cloning your fork (rather than cloning https://github.com/dolphin-emu/dolphin) so you automatically will get it set up as a remote repository, but it is also possible to add your fork as a remote manually when you already have a local clone. Once your fork is added as a remote and you've pushed your branch to it, GitHub's web UI should let you create a pull request.

In case you already have a forked repo on GitHub but you can't push, try checking these things:
Thanks, got it!