3/31/2023 0 Comments Github desktop create pull request![]() ![]() Knowing that, in fact you can open pull requests between any branches that have a common commit history. When you see the pull request opened from repository B to repository A, really it's being opened from branch B/master to branch A/master. That is, repositories A and B each have a master branch. In your case, it sounds like there are two interesting branches so far: A repository may contain many branches, and when you create a pull request, you pick which branch you want to merge into which other branch. Pull Request behavior will be clearer if you start thinking in terms of branches instead of repositories. I can't try it out because that button is always greyed out for me (maybe because I own the repository?)Īnd can a user make a pull request directly into repository A from GitHub Desktop - or will it always be a two-step process via repository B? If it's repository B, then what's the difference between commit/sync and the pull request button? I get that.īut GitHub Desktop also has a 'Pull Request' button, and I don't get who it's making the request to! Is it repository A or repository B? Or something completely different? If they want to then copy the edits to repository A, they go into GitHub and make a pull request. In GitHub Desktop they can use 'Commit to Master' and then hit the 'Sync' button. They make edits locally and then open GitHub Desktop. They can then click 'Clone in Desktop' to get a local copy. If someone wants to make updates they fork that repository to one of their own (call it 'B'). Here's the scenario: I have a GitHub repository (call it 'A'). I can't find an answer in the GitHub help (I did look) and I did ask some software developers (I'm using GitHub to store documentation) and they didn't know either! Apologies if this is too basic, or a duplicate, but I'm confused here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |