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 6140653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:08:48+00:00 2026-05-23T18:08:48+00:00

I have a repository on github that I and a friend work concurrently on.

  • 0

I have a repository on github that I and a friend work concurrently on. We branched our local copies of the master on github and added a lot of features to our individual branches. But we only committed to our local copies (not the one on github). How do I manage the histories and commits such that both our commits are reflected on the github repository (without a flurry of merge conflicts)? Thanks.

Plus, how do I handle the conflicts and patches? Can someone provide a visual representation of the problem and how to solve it (so that I can better understand it).

  • 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-05-23T18:08:49+00:00Added an answer on May 23, 2026 at 6:08 pm

    Instead of merging your whole brunch of commits into the remote branch at one go which makes you lot of conflicts to solve, you can also merge your commits parts by parts.

    `git merge <commit point a>`
    

    solve some conflicts first

    `git merge <commit point b>`
    

    solve some conflicts first

    `git merge <commit point c>`
    

    solve the last part of conflicts

    where a,b,c are the commits point in sha-1 and a < b < c

    I think this would relieve your pain a little bit.

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

Sidebar

Related Questions

I have repository on GitHub to which I commit regularly from my local computer.
I have a git repository (at github.com) with two branches: master and gh-pages. I
I have a local git repository a central repo at github. I'm working on
I have a private repository in github that has 5 collaborators.Now when the collaborators
I have a repository on Github that is a fork of another repository. I
I have a private repository on Github that I want to use. I deploy
I currently have a git repository at github that stores the packaging files for
I have a local repository that is a full copy of a repository on
Hey, I have noticed that when browsing a GitHub repository it uses AJAX to
I have a project on a private github repository (but this should work for

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.