• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 23 24 25 26 27 ... 116 Next »

How do I create a pull request?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
How do I create a pull request?
03-27-2017, 07:56 AM (This post was last modified: 03-27-2017, 08:02 AM by Derek.)
#1
Derek Offline
Junior Member
**
Posts: 18
Threads: 8
Joined: Feb 2015
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?
Find
Reply
03-27-2017, 04:39 PM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,839
Threads: 7
Joined: Oct 2014
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:
  • Is the remote set up as an SSH connection (rather than HTTPS)?
  • Did you add your SSH key to https://github.com/settings/keys?
Find
Reply
03-27-2017, 05:02 PM
#3
Derek Offline
Junior Member
**
Posts: 18
Threads: 8
Joined: Feb 2015
Thanks, got it!
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode