Pull requests are made when a developer forks a project, makes changes, and then wants those changes to be included in the main project again. These were made popular by Github and Bitbucket.
Questions tagged [pull-request]
2166 questions
47
votes
5 answers
How to apply a git patch when given a pull number
I downloaded a trunk version of a codebase from git, and there are build errors. Aparently a patch is now available, and I received an email :
see https://github.com/JustinTulloss/zeromq.node/pull/47 for patch
I am new to git so I'm not quite sure…

Homunculus Reticulli
- 65,167
- 81
- 216
- 341
47
votes
4 answers
Is it possible to create merge requests in pure Git from the command line?
I'm using a behind-firewall install of Gitorious.
I can go into the web application and create a pull request from a clone and target the master repo from which it was cloned.
I'd like to be able to do this on the command line. More specifically,…

buley
- 28,032
- 17
- 85
- 106
46
votes
5 answers
Squash to only one "proper" commit for github pull request
I have a repo on github which someone else (Bob, for the sake of argument) has issued a pull request for. His code's not perfect, so we go through a few rounds of markups. As I understand it, he commits and pushes to his pull-request for each set of…

Chowlett
- 45,935
- 20
- 116
- 150
45
votes
6 answers
Github Pull Requests template not showing
I wanted to create custom Pull Requests template for my Github repo (internal version in my company and not on Github.com), so I followed instructions on this link. I followed below steps:
Created the new template file in the location:…

ZCode
- 560
- 2
- 6
- 11
45
votes
9 answers
How can I get a list of all pull requests for a repo through the github API?
I want to obtain a list of all pull requests on a repo through the github API.
I've followed the instructions at http://developer.github.com/v3/pulls/ but when I query /repos/:owner/:repo/pulls it's consistently returning fewer pull requests than…

ResearchMills
- 551
- 1
- 4
- 3
42
votes
7 answers
Delete file from Pull Request on GitHub
I have make pull request on git (with "xcodeproj/project.pbxproj" file - my fault), so can I delete this file from created Pull Request? Thanks..

LightNight
- 1,616
- 6
- 30
- 59
42
votes
14 answers
How to solve the requested URL returned error: 403 in git repository
I have multiple accounts in git I committed code three weeks back with this account. I'll unable to pull my code . I was getting The requested
URL returned error: 403
I'll try Pushing to Git returning Error Code 403 fatal: HTTP request failed
…

Kondal
- 2,870
- 5
- 26
- 40
42
votes
3 answers
Set the develop branch as the default for a pull request
I want to make the pull request merge into develop from the feature branch by default.
I'm advocating the use of git flow, so when a pull request is submitted for a feature, the pull request needs to get merged into develop, and not master.
Some of…

ton.yeung
- 4,793
- 6
- 41
- 72
41
votes
11 answers
Why is the Approve button disabled in GitHub "pull request review"?
Problem Background:
So far I am the sole owner of a GitHub repo. I committed the code from my system to a branch called release (actually its a tag based on develop branch, if that matters). In GitHub, I created a pull request where base branch is…

Dexter
- 4,036
- 3
- 47
- 55
41
votes
3 answers
Creating pull requests in gitlab
I have a GitLab installation running, and I have a repository that I want to share with my friends. I can't understand the flow of sending pull requests in GitLab.
A user can't fork my repository or access my project (unless he is my on team). A…

Yosi
- 2,936
- 7
- 39
- 64
39
votes
1 answer
Pulling from Git fails and gives me following error: client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0
I am working on a project with my teammates. Some weeks ago, I pulled the project from git successfully. But today when I wanted to pull the updated project via the command "git pull origin ", it gave me the following…

Mohsen Arab
- 435
- 1
- 4
- 5
39
votes
3 answers
How to do code review for google cloud git repo
We are hosting git repo on the google cloud platform. I know for github.com, we can use pull requests for code reviews, but google cloud does not seem to provide that.
How do I perform code review for repos on google cloud platform?

肉肉Linda
- 568
- 1
- 6
- 13
37
votes
4 answers
Github pull request shows wrong diff
I am having two branches:
- master and
- develop.
I am trying to merge branch develop into master branch.
I have checked with Tower and Araxis merge, those two branches are identical. But when I do a pull request on Github, I am seeing that there…

be-codified
- 5,704
- 18
- 41
- 65
37
votes
3 answers
Github: Find PRs where user is a reviewer
Github added reviewers.
Is there a way to find PRs (e.g. on the Pull Requests page) where the user is a reviewer? Things I have already tried:
Checked https://help.github.com/articles/searching-issues/ for a filter:
None found
Tested potential…

Mark C
- 1,314
- 1
- 12
- 19
37
votes
7 answers
Ignoring specific files, file types or folders in a pull request diff
We frequently use the Files Changed tab on a pull request to peer review the work we have done on a branch, unfortunately a major part of our development process is regenerating Flex services so when viewing the files changed 99% of the changes are…

BombTodley
- 537
- 1
- 5
- 10