Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:21:26+00:00 2026-06-17T10:21:26+00:00

Someone has submitted a set of pull requests to my repository on github. Unfortunately

  • 0

Someone has submitted a set of pull requests to my repository on github. Unfortunately they’ve done this in several pull requests (one for each file) rather than submitting all the pull request for all the files in one go.

After requesting him to merge them as one – and not getting any response I’m now trying to merge these pull requests together myself in the Git Bash – but having little luck – I’m quite happy using the merge buttons and making commits through the GitHub program on windows but little more. I have no real understanding of the git shell – so if someone could go through the process of how I can merge these pull requests together (none of them conflict in anyway) it would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:21:27+00:00Added an answer on June 17, 2026 at 10:21 am

    Say if you have 3 pull requests A,B,C which are on three branches bA,bB,bC. and your main branch is master.

    First get all of his branches to your local repo without merging it.
    git fetch his-repo

    so now your repo may have four branches: master, bA, bB, bC

    I will create a branch from master called f-merge-his-repo

    git checkout master
    This makes sure that f-merge-his-repo branches out from master.

    git checkout -b f-merge-his-repo
    This creates the branch f-merge-his-repo and switch to it.

    So now you are currently on f-merge-his-repo, use the following commands:

    git merge bA

    git merge bB

    git merge bC

    If there are conflicts you should fix it(manually or using a mergetool), but as you said there are no conflicts, so we say that bA bB and bC are now all in f-merge-his-repo

    then, just simply merge f-merge-his-repo into your master branch

    You should first switch to the master branch.
    git checkout master

    And then merge f-merge-his-repo
    git merge f-merge-his-repo

    or if you prefer a none fast forward merge
    git merge --no-ff f-merge-his-repo

    After all, delete these branches.

    git branch -d bA

    git branch -d bB

    git branch -d bC

    git branch -d f-merge-his-repo

    You should really take a look at pro-git here. It is a simple book which shows you everything you need with git in your daily work, and believe me, once you get used of git bash, you will find all of these git GUI’s frustrated(except viewing the log, I use gitk to view and analyse the log)

    Last tip:

    A good way to remember git merge and git rebase is like

    Merge is merging another branch TO your current branch (of course you can name both branches, but the default syntax is merge the branch to your current branch)

    so you should always switch to the main branch and merge others branch

    git checkout master

    git merge their-branch --no-ff
    or
    git merge their-branch

    And rebase is rebasing your current branch ON another branch(usually the main branch)

    git checkout feature-branch

    git rebase master

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am sure someone has this done already, and was hoping someone could share
So I made this and someone has submitted a new VB.NET hello world example:
I've submitted a bug to the tinyMCE people, but i'm hoping someone else has
Someone has an answer to this missing feature in Entity Framework. Does anyone have
Hope someone has an easy answer on this. I have a header image which
If someone has deleted the remote branch, is there any way I can pull
I'm hoping someone has run into this sort of problem before, and can give
I have a method that basically mails out a notification that someone has submitted
Someone has suggested to e to use SplObjectStorage to keep track of a set
I was wondering if someone could help(sorry I know this subject has been brought

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.