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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
17 views

Git Merging Issue in Jenkinsfile in all branches

I have three branches dev, qa, uat and prod in bitbucket. Each have their own Jenkinsfile and each files varies based on the credentials they use. The strategy decided by the team to use, is that ...
Thomas Raj's user avatar
0 votes
0 answers
10 views

while merging bitbucket pull request with squash how to add PR owners name instead of merger?

In Bitbucket when any manager or lead merges the PR with squash merge it adds the merger name on the merge commit. instead, can we do some workaround or proper way so the PR owner name appears on code ...
Ajarudin Gunga's user avatar
0 votes
1 answer
73 views

How to set utf-8 as default encoding for pull request merge conflict extension in azure devops?

How to set utf-8 as default encoding for pull request merge conflict extension in azure devops? Checked the pull request merge conflict extension and azure devops, didn't found any option to set ...
Sreelakshmi nm's user avatar
0 votes
0 answers
42 views

Git pull request has all the deleted files in Files Changed

I created a new branch named 'week04-submissions', which had all the folders and files from the main branch, I deleted those folders and files and created a new folder named week04 and pushed new ...
Toufiqur Rahman's user avatar
-1 votes
1 answer
51 views

How can i get a pull_request_template.md to run when a pull request is made and when the pull_request_template.md is located in a git submodule

Kia Ora all, #this is my first ever poast after using StackOverflow so many times. #im wokring in Azure devops pipelines, Visual studio, using git. Im working on a project with many repositories, one ...
theNoobGuy's user avatar
0 votes
0 answers
30 views

Every pull request merge increments behind commits to the main

I'm beginner to Github. First I created an empty repository by creating a only a readme file. Then I cloned it to my computer and added some files and commited them to push. It push fine because that ...
Nave3n's user avatar
  • 3
-1 votes
0 answers
42 views

A commit ahead of the remote branch

I have forked a repository. Let's say it has 5 branches. A new branch is added in the remote repository making it 6th but I still have 5 in my fork. The newly created branch is 1 commit behind the ...
Subhash Yuvaraj's user avatar
-3 votes
0 answers
21 views

GitLab merge requests management tools [closed]

Do you know any software that can be used for gitlab self-managed (ee) pull request management? I need to review some merge requests inside company. I know that I can use GitLab Web to review this ...
Kamil Małochleb's user avatar
0 votes
0 answers
26 views

Wait for GitHub Actions workflow to finish before closing a PR

When merging to main, I have an action that runs to change the source attribute in Terraform files from a local path to Terraform Enterprise/Cloud URL. This is so we can test our code locally. The ...
woter324's user avatar
  • 2,748
0 votes
1 answer
62 views

Create "diff-based" pull request gate in Azure DevOps

I have a gate (Build Verification / Status Check) that runs some benchmark tests I wrote. The benchmark runs the new code and returns the total run time of the new code. Instead of a hard-coded ...
nrofis's user avatar
  • 9,156
-4 votes
0 answers
24 views

Are all previous commits visible in a pull requests? [duplicate]

I created a branch for a task I need to do. I realized I committed some bad things in my work but I did not create a PR yet. My question is: can I remove the commit with the mistake from the PR before ...
Claudiu Acsinte's user avatar
0 votes
1 answer
33 views

Can Azure Devops run a script to determine the default target branch for a pull request?

QUESTION: If I were to find a script/command that gives the branch name that I want... Is Azure Dev Ops able to run that command/script when a New Pull Request is created to set the default target ...
Brian Davis's user avatar
0 votes
0 answers
24 views

GitHub multiline suggestion with expanded context

It's possible to add a multiline code suggestion to a PR like this, which is a really nice feature: You can now suggest a specific change to multiple lines of code when reviewing a pull request. To ...
Jan Köhler's user avatar
  • 5,912
0 votes
1 answer
35 views

With GitHub PRs, why do deleted empty files display 'Empty file.' instead of Deleted

Using GitBash on Windows. On GitHub, when viewing a PR, why do deleted empty files display 'Empty file.', whereas those with content state 'This file was deleted.' Is this just a quirk? I was very ...
zola25's user avatar
  • 1,821
0 votes
2 answers
42 views

How can I create Build Validations on Azure DevOps branch policies for forks?

I have 2 repos on Azure Devops, the second one was created as a fork of the first one. My team wants to create PRs from a branch from the original repo to the main branch on the fork, or using a ...
Gustavo Vargas's user avatar
0 votes
0 answers
28 views

How to get bitbucket to show the diff in a PR in a more sensible manner

I had a PR out when I realized I forgot a 'minor' detail that ended up being a much larger amount of work. My original PR got approved while I was making those changes, so I had the bright idea to ...
dsollen's user avatar
  • 6,098
0 votes
0 answers
26 views

is there a way to push from my new branch only the modified files?

Let's explain what i do: I clone the project on my local machine, then pull from the development, and then create a new branch to work on. After finishing, I push the branch and make a pull request. ...
Omar Al Ali's user avatar
0 votes
0 answers
19 views

The status checking doesn't rerun when apps/github_actions reopened the pull request

I wrote the github action which runs the python script to send patch method for reopen pull request. The pull request included status checking that run another github action with trigger rule on '...
test's user avatar
  • 1
-1 votes
1 answer
40 views

Get the patch out of GitHub PR

Some time ago I submitted PR to one of the projects I'm involved with. That PR got some comments and I tried to follow up with them. Now that PR became clogged with different changes and everything. ...
Igor's user avatar
  • 5,700
1 vote
1 answer
46 views

Why is Azure DevOps checking out a PR by commit rather than PR reference?

My team is attempting to merge two repos into a monorepo for a variety of reasons. I followed the instructions here to get them into one. However, the UI gated-build YML, in an effort to reduce build ...
Matt M's user avatar
  • 1,233
-2 votes
2 answers
56 views

How to remove a Merge commit from Git history without losing subsequent commits

I have a Git repository "B" with branch clean which is a fork of another Git repository "A" with branch main. My B repository commit history includes a merge commit from the ...
SlimShadys's user avatar
1 vote
1 answer
117 views

AzureDev Repos, how to change target for pull request

I have created a pull request in AzureDevops Repos. Pull request is from "green_branch" into "master". I would like to change the target of this pull request from "master"...
fascynacja's user avatar
  • 1,765
0 votes
1 answer
36 views

Getting pull request messages that merged into master branch

I have a GitHub Actions workflow in place that is triggered whenever a PR is closed and merged. This action automatically generates an APK and attaches it to a new GitHub release with a specific tag. ...
nogabemist's user avatar
0 votes
1 answer
34 views

Adding more than one links for a branch/pull request to an User Story in Azure Devops

In Azure Devops "User Story View" I am able to create a branch for specific story. I am using a link from this panel: I am currently working not only with one repository for this story but ...
fascynacja's user avatar
  • 1,765
0 votes
1 answer
91 views

git reports merge conflict although files are the same

I have a master branch and development/Server branch in git. I created Pull Request and trying to merge development/Server to master branch but I am facing conflict. I am getting conflicts for 2 files:...
Veljko's user avatar
  • 3
0 votes
0 answers
52 views

How to create a PR (pull request) on github using VSCODE editor

I have a branch feature-atm where i make changes not reflected on main branch. I try to keep my feature-atm branch in sync with the main branch by following the below steps -> In visual studio code,...
Ashar's user avatar
  • 3,019
0 votes
0 answers
83 views

Retrieve commit message in a GH Action triggered on pull request

I want to create a GitHub Actions workflow triggered on pull_request. The workflow should get the last commit message in the Pull Request and check it against a given regular expression. The part I am ...
Kins's user avatar
  • 603
0 votes
0 answers
15 views

Build error during Pull Request in the file which was not modified by me

Here is the pull request that I have created: https://github.com/TheAlgorithms/Python/pull/10355 It shows error in build/build(pull-request) and when I checked it, there is an error in the file that I ...
deadpool's user avatar
0 votes
0 answers
38 views

Bitbucket: why allow 1 but not 0 commits behind the target branch?

In Bitbucket (cloud), one can configure a merge restriction to require a PR branch to be at most a certain number of commits behind the target branch. An interesting use case I see is to require the ...
Milo's user avatar
  • 2,081
0 votes
1 answer
160 views

Is there a limit on number of commits in a single PR for Microsoft DevOps?

I am working with MS Azure Synapse Analytics (in MS DevOps) and received this warning when sending a Pull request: This is not an error (I am still able to send the PR), but I was wondering if there ...
JuanCa's user avatar
  • 3
-1 votes
1 answer
80 views

Azure DevOps, pull requests, additional commits

Odd scenario. I created a pull request but the approver, who's on vacation, doesn't have access to approve it. I'm getting emails of new commits to the PR. It's my understanding that the post PR ...
joby-flick's user avatar
  • 1,788
-1 votes
1 answer
44 views

Github Actions on pull request errors

I'm not really great at using github the most I do is git push and git pull so I ran into this error and have no idea how to fix it Here's the error Run FORBIDDEN_FILES=("appsettings.json" &...
Alexander Fields's user avatar
0 votes
0 answers
28 views

Github PR's merged commit author is overriden by Github main email address

I need to use two separate email addresses in Github for different purposes. In order to achieve this, I have added a secondary email to my account and I author my git commits with this exact same ...
phvega's user avatar
  • 1
0 votes
0 answers
20 views

Push everything from github repo to a fork and then create pull request

I have a repo on github (lets call repo-private) that is private and I want to make its contents public by not going to settings and changing the privacy to public. I want to keep that privacy and my ...
Bibrak's user avatar
  • 554
-1 votes
1 answer
50 views

How can I clean up my GitHub fork's commits and branch to make clean PRs in the future?

My issue in short: I was contributing to a repo on GitHub, so I forked, and I created a new branch, made my additions, and submitted a successful PR back to the origin repo (#18 in it). The result now ...
rodriguezrrp's user avatar
1 vote
0 answers
218 views

Unable to Add Comments in PR using GitHub Pull Requests Extension in VSCode

I'm using the GitHub Pull Requests extension in Visual Studio Code to review pull requests. I've been assigned a PR, and I partially reviewed it about a week ago. However, today, when I tried to ...
HiddenLeafCoder's user avatar
18 votes
0 answers
3k views

GitHub shows "Processing updates" on my Pull Request after every push

Previously, every git push to an open Pull Request was shown immediately. It might or might not have triggered CI, but the commit showed up in the "Commits" tab right away. Now, every time ...
Parzh from Ukraine's user avatar
0 votes
1 answer
29 views

A pr need modify to merged but the branch is behind the main branch

I fork a repo and clone it to local, then I change code and create a branch, I git add, git commit and git push the update to the new branch, later I return my github and commit a pull request. But ...
lim-yoona's user avatar
0 votes
0 answers
14 views

How to prevent fork specific files being included in pull requests to original repo

I have made a fork of a repo on GitHub, and use this to make changes and submit them as pull requests to the original repo. There are some files that I don't want to include in pull requests (nor do ...
dunxd's user avatar
  • 936
4 votes
1 answer
121 views

How do I find out who resolved a PR comment?

When I spot an issue during the code review for a pull request (PR) on Azure DevOps, I can leave a comment (actually, a new comment thread). Resolution of all comments can be configured as a ...
O. R. Mapper's user avatar
  • 20.3k
0 votes
0 answers
29 views

Can an Observer be added to GitHub pull request

Is there a way I can add somebody as an observer to my GitHub PR. I don't wan 't person A to approve my changes, but still want A to be able to see all the code changes and exchanges between the ...
user19898808's user avatar
0 votes
0 answers
43 views

How to skip the PR workflow on GitHub Actions when the base branch is up to date

Is it possible to either trigger a GitHub Actions on: pull_request workflow only if the base ref is out of date, or else to have the PR workflow stop quickly (with a success state) when the base ref ...
someone's user avatar
  • 339
0 votes
0 answers
12 views

How can I try Pull request on VSC, with dependencies on them?

Soo I'm working in a team with some people and I told them to do Pull request instead of just putting everyting in the branch, but now I want to try there code, but idunno how to do it (cause' the ...
ElMagoPerodelDQ's user avatar
0 votes
0 answers
40 views

How to reproduce this change in pull request history?

I would like to know all the possible ways a PR could have such a history. Is it possible achieve it without git commit --amend --author="xxx"? I had some work done on the branches and when ...
burn's user avatar
  • 1
0 votes
0 answers
24 views

Can squashing a merge commit cause issues when merging to main branch?

Created a feature branch from develop. Added few commits and pushed to remote. Merged develop branch into my feature branch to get latest changes and pushed to remote. Added few more commits and ...
javanoob's user avatar
  • 6,150
0 votes
1 answer
18 views

How to create multiple identical independent GitHub pull requests for a given patch?

I am creating a programming class dedicated to the practices of software code review. During the class, students are expected to perform code reviews over pre-made change requests (by commenting pull ...
Grigory Rechistov's user avatar
2 votes
0 answers
61 views

How to reuse a duplicated (merged) pull request?

I created two pull requests #15 and #17 which contained identical commits. Since the commits contained identical files, I closed pull request #17 and request #15 was merged into the upstream ...
Xiong Sichao's user avatar
0 votes
0 answers
23 views

How to debug CI/CD script in github forked repo?

There is a public repo on GitHub with CI/CD workflow and bash scripts. I created a fork of it and then create a PR to that repo. But my PR failed during the merge CI/CD. By some initial investigation ...
Felix F Xu's user avatar
1 vote
1 answer
110 views

GitHub pull request title does not change automatically

I just wanted to set up a workflow on GitHub to ensure that pull request titles satisfy some given regex. To do so, I used this GitHub action from the marketplace: check-title: name: Ensure PR ...
d4tm4x's user avatar
  • 528
0 votes
0 answers
10 views

CPanel Pulling Specific data from github repo

I have two cPanel Accounts and 1 Github repo from 1st cPanel account i want to push all the data to Github but on 2nd cPanel account i only want to pull specific files and folders, like, applications/...
Tahir Irshad's user avatar

1
2 3 4 5
45