pull-request
Prevent pushing to master on GitHub?
GitHub allows you to configure your repository so that users can’t force push to master, but is there a way to prevent pushing to master entirely? I’m hoping to make it so that the only way of adding to commits to master is through the GitHub pull request UI. 8 Answers 8
Can I make a pull request on a gist on GitHub?
Can I make a pull request on some else’s gist on GitHub? I’m aware of the fork, clone and commit workflow for a gist I own. I’d like to know if I can request to update someone else’s gist with my fork. 6 Answers 6
How to modify GitHub pull request? [duplicate]
This question already has answers here: Preferred Github workflow for updating a pull request after code review (2 answers) Closed 5 months ago. I’ve opened a pull request to a project. The maintainer has decided to accept it, but told me to modify some contents. How can I do it? Whether I should keep the … Read more
Undo a merge by pull request?
Someone accepted a pull request which they shouldn’t have. Now we have a bunch of broken code merged in. How do you undo a pull request? I was just going to revert the changes to the commit just before the merge, but I noticed that it merged in a bunch of commits. So now there … Read more
Find a Pull Request on GitHub where a commit was originally created
Pull Requests are great for understanding the larger thinking around a change or set of changes made to a repo. Reading pull requests are a great way to quickly “grok” a project as, instead of small atomic changes to the source, you get larger groupings of logical changes. Analogous to organizing the lines in your … Read more
On GitHub, what’s the difference between reviewer and assignee?
A feature added on Dec, 7, 2016, announced on GitHub blog, introduced the option to add reviewers to a Pull Request You can now request a review explicitly from collaborators, making it easier to specify who you’d like to review your pull request. You can also see a list of people who you are awaiting … Read more
Send a pull request on GitHub for only latest commit
I forked a project on github and am successfully making changes to my local master and pushing to origin on github. I want to send a pull request, but only want to include the last commit. The pull request UI on github.com shows the last 9 commits and I don’t know how to filter that … Read more
How to do a GitHub pull request
How do I create and/or send a pull request to another repository hosted on GitHub? 8 Answers 8
GitHub pull request showing commits that are already in target branch
I’m trying to review a pull request on GitHub to a branch that isn’t master. The target branch was behind master and the pull request showed commits from master, so I merged master and pushed it to GitHub, but the commits and diff for them still appear in the pull request after refreshing. I’ve doubled … Read more