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
0
votes
0 answers
How to configure GitHub so that a Pull Request to a forked repository uses as basis the fork and not the upstream repository?
The current question is related to a previous question I asked.
There was a suggestion for a follow-up question on how to configure GitHub to achieved the desired result of pushing code to the fork (not the upstream repository). Hence, here it is.

Pedro Delfino
- 2,421
- 1
- 15
- 30
0
votes
1 answer
I am pushing code to the forked repository. But, the PR goes to the upstream. Why?
There is something that I do not understand.
1 - I am working on this repository tallyfor/re-frame-firebase (link). As you see, it is a fork of deg/re-frame-firebase (link).
2 - Now, after doing a git clone of git clone…

Pedro Delfino
- 2,421
- 1
- 15
- 30
0
votes
0 answers
Τell the difference between a direct push commit and a merge commit on GitHub
I want to run a GitHub action on push.
I want however to be able to tell the difference between a direct push and a Pull Request merge. (I don't want my workflow to run on the second case)
I have found a workaround, by allowing only Merge with…

pkaramol
- 16,451
- 43
- 149
- 324
0
votes
0 answers
How to merge two github repos including their respective PR history?
We are looking to merge two repos where the result will be one repo with two branches (one of each).
We were able to handle all git history. However, we lose the PR history (the one in the github ui).
Do you know of any way to also migrate PRs…

ostackp
- 41
- 2
0
votes
0 answers
Git is picking up changes but all branches are up to date
So I just recently pushed a branch up as follows featureBranch -> Dev -> Main -> MainProd. I made sure all the branches were up to date by pulling down the latest from orgin.
However, when I git diff Dev...Main for example its telling me there are…

theCodingPro
- 33
- 5
0
votes
1 answer
for a given Bitbucket Pull Request , i need to find out Target Merge Branch of this PR
For a given Pull Request , i need to find out Merge Target of this PR , whether this PR will merge one branch to another branch or one branch to main master branch. is there any git command to do the same? BitBucket API via python/curl…

Rajesh
- 1
- 1
0
votes
1 answer
PR Ignore failed step Azure Devops
i have a problem with pull request policies, in CI pull request i have opcional stage. i can aprove or reject opcional stage but when reject the build pipeline is failed.
is there a way is build PR is sucessed if one step is rejected?

Ivo Paulo Puehler
- 19
- 6
0
votes
0 answers
how to block a PR if package.json version was not updated?
Very often me and my team forget to update the package.json version of our services when pushing new code.
I would like to know if there is an automatic way to check if the current target branch's version is <= than the one in the PR's code, and if…

Pedro Accorsi
- 765
- 1
- 8
- 21
0
votes
1 answer
To check a field in work items before deploying to main or before completing a pull request in Azure DevOps Git repository
We have a requirement from our client that they need a criteria to be met firstly before being able to be merged to ‘main’. Its okay to go in ‘develop’ but when it should go to ‘main’ want to have some sort of TAG, check box, a field or something…

Mano
- 1
0
votes
0 answers
Disable merge button on GitHub (even if PR is approved) till all the builds succeed
I want to disable the merge button until and unless all the builds succeed. But in the current scenario, the button gets enabled when someone approves the PR on Github.

Rahul Agrawal
- 303
- 3
- 12
0
votes
2 answers
Verifying that there was Pull Request succeeded in merging to Develop Branch before make PR to Release Branch
Please need help to how i can implement a solution on Azure Devops via Powershell or Api to verifying that there was Pull Request succeeded in merging to Develop Branch before make PR to Release Branch.
When a devlopper will try to make a Pull…

anwar31dz
- 1
- 2
0
votes
0 answers
Is there a way to create Grafana alerts for pull requests? (Github plugin)
I'd like for Grafana to alert me when the number of pull requests for my Github repo increases. I have a pull requests panel in my dashboard in Stat format; is there a way to convert this to a time-series format so I can configure alerts?
I have…
0
votes
2 answers
I made one PR from master branch which is yet to be merged. Now I want to make a second PR without showing commits of first PR in it
I made my first Pull request from the master branch which is reviewed but not merged yet.
Now I tried making a second Pull Request by making a new branch. But the problem I am facing is that this second Pull Request is showing the commits of the…

Deeksha
- 35
- 6
0
votes
2 answers
Failing pulling existing Repo in Visual Studio
I downloaded a branch as zip file from git succesfully. After this I cloned repo from in the section below. But still I cant see all the branches that I wanna see. What's the problem here?
ss

mertckr
- 7
- 5
0
votes
0 answers
Git Pull Request - Csproj - Duplicate package reference entries
I am getting into a weird situation, every time I do a nuget package update for a specific package and then create a pull request for it.
The update of the package works fine, no problem there, but when I do the pull request, the package reference…

Marius Popa
- 564
- 1
- 5
- 22