Questions tagged [pull-request]

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.

2166 questions
96
votes
4 answers

Squash all my commits into one for GitHub pull request

I made a pull request on GitHub. Now the owner of the repository is saying to squash all the commits into one. When I type git rebase -i Notepad opens with the following content: noop # Rebase 0b13622..0b13622 onto 0b13622 # # Commands: # p, pick…
omerjerk
  • 4,090
  • 5
  • 40
  • 57
91
votes
5 answers

How to select/comment on a range of lines in github pull request?

There is an option to comment on a range of lines in file on github, see How to refer to a specific line or range of lines in github? But is there similar option to comment on range of lines inside pull request? When I click on line, only single…
llamerr
  • 2,997
  • 4
  • 29
  • 40
89
votes
6 answers

How to relaunch GitHub check without pushing new commits?

I'm currently using GitHub with a basic Jenkins integration (with the GitHub plugin): each time I push something, my Jenkins tests are triggered and the status is reported to GitHub. For some dirty reasons (and I know the root cause is here), my…
Labynocle
  • 4,062
  • 7
  • 22
  • 24
88
votes
13 answers

How can I fetch an unmerged pull request for a branch I don't own?

I need to pull in a specific pull request (that hasn't been processed into the main stream yet) in the NServiceBus repo: https://github.com/johnsimons/NServiceBus/commit/d8524d53094e8181716e771c1023e968132abc15 It's obviously not my repo, but I need…
user156888
88
votes
5 answers

How to set up a code review using Gitlab?

How does one set up a code review using Gitlab? I see it listed as a feature on the Gitlab website, but I can't seem to find instructions on how to set one up (For that matter, any link to a Gitlab user manual would be most appreciated). Some of…
djc6535
  • 1,944
  • 4
  • 18
  • 26
81
votes
6 answers

How to configure Travis-CI to build pull requests & merges to master w/o redundancy

To put it in "BDD" terms: Background: Given I'm contributing to a GH repo When I create a pull request Then Travis should build the latest commit When I push to an existing pull request Then Travis should build the latest commit When I merge…
Brian Gerstle
  • 3,643
  • 3
  • 22
  • 22
81
votes
2 answers

Pull-Request for only certain files/commits

I have a repository that is forked from GitHub that has a few modifications made to it. However, in a certain commit, a few files were changed that I want to submit a pull-request for, leaving the other modified files out of the request. Do pull…
Qix - MONICA WAS MISTREATED
  • 14,451
  • 16
  • 82
  • 145
79
votes
2 answers

Adding Tags to a Pull Request

I have a repo iontech/Anagen forked from agiliq/Anagen I made a few commits to my fork and added a tag. Then I opened a Pull Request. This Pull Request includes only my commits. How do I include the tag I've created into the Pull Request?
user1062640
79
votes
7 answers

How to change the base branch of a pull request?

I created a pull request on project on GitHub to a specific remote branch. After some time, the remote branch was deleted. How can I change the pull request to point to another branch (specifically master)?
75
votes
5 answers

How to resolve merge conflict in pull request in VSTS?

I've created pull request I got into this: "Approve" button does nothing and complete is disabled. How do I resolve this confligt in pull request?
Liero
  • 25,216
  • 29
  • 151
  • 297
66
votes
10 answers

Push fails in GitKraken with errormessage "Push Failed cannot read property 'fullName' of undefined"

I was trying to push and create a pull-request from my local feature-branch, as usual, being in my feature-branch and right-clicking on the remote origin/develop -branch (I'm using Git Flow), and this error message popped out: Can't find anything…
Steve Waters
  • 3,348
  • 9
  • 54
  • 94
62
votes
10 answers

Create Pull Request Button is disabled

I would like to make a pull request from my fork repo to the upstream repository. As always I was following these steps here from the guidance from Github. But this time I can not make a pull request, as the button is disabled. The branches can be…
wingedRuslan
  • 821
  • 1
  • 6
  • 9
62
votes
21 answers

Git PullRequest job failed. Couldn't find any revision to build. Verify the repository and branch configuration for this job

Yesterday my pullrequest jobs failed with the following output: 11:07:41 > git rev-parse origin/${sha1}^{commit} 11:07:41 > git rev-parse ${sha1}^{commit} 11:07:41 ERROR: Couldn't find any revision to build. Verify the repository and branch…
Vladimir Voitekhovski
  • 1,472
  • 5
  • 21
  • 33
62
votes
3 answers

Are pull requests part of Git, or a feature of tools like GitHub, Gerrit and Atlassian Stash?

Pull requests seem to be the common way to do code review with Git. However, it is not clear whether this term means the same when using the built-in git request-pull, or a different tool. Are pull requests an intrinsic function of Git, or is it a…
user3049984
  • 721
  • 1
  • 5
  • 4
62
votes
4 answers

How do I push to a pull request on github?

I've added this to my .git/config file: fetch = +refs/pull/*/head:refs/remotes/origin/pr/* Which allows me to pull down pull request diffs, but when I check it out it actually creates a branch with that same name. Is there any way for me to push to…
lobati
  • 9,284
  • 5
  • 40
  • 61