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

  • Home
  • SEARCH
  • 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 7610153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:21:03+00:00 2026-05-31T01:21:03+00:00

I am working to get my group using git (were using svn). We have

  • 0

I am working to get my group using git (were using svn). We have a ‘central’ system with a bare repository as our shared/backup system. There are 2 respositories at the moment, both for testing git – call them A and B. To start things off simply, we’re using this cycle (and only 2 people are testing so far):

- edit and commit
- git fetch origin
- git diff origin/master master # to see what merge will do
- git merge origin/master master  # merge
- git push   # share the merged commit

For repository A, if one person makes a change, then the other does the fetch/merge/push, the state of things ‘settles down’ to where both people show ‘Everything up-to-date’ for git push.

However in repository B we have a ‘ping pong’ effect that keeps producing new merge comments. gitk shows one commit as “merge branch ‘master’, remote branch origin/master” and the next says “merge branch ‘master’, remote-TRACKING branch origin/master”. [I put TRACKING in caps to show the difference.] The ‘git remote show origin’ show the same info for both users.

I’m sure the problem is obvious to one of you GIT pro’s – please enlighten us! Thanks.

  • 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-31T01:21:04+00:00Added an answer on May 31, 2026 at 1:21 am

    Your problem is related to the fact that you’re incorrectly using the merge command:

    git merge branch1 topic 
    

    is going to produce an “octopus” merge which has more than two parents.

    Instead for merge you should use:

    git checkout master
    git merge origin/master
    

    Another possibility is that if two persons are working on repo B and they follow your scenario by the book – they will have this problem of merge commits appearing all the time.
    In case if you’re developing in master branch and you know that somebody else might have updated it you should use (you are in master branch):

    git commit ...
    git fetch origin
    git diff origin/master master
    git rebase origin/master
    

    That will streamline the history.

    Now shorter variant of this will be (if you’re ok to review diffs later):

    git commit 
    git pull --rebase 
    

    Hope that helps!

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

Sidebar

Related Questions

I'm trying to sell our group on using Mercurial as a source repository rather
Working to get DateTimes for any time zone. I'm using DateTimeOffset, and a string,
I have this simple example I can't seems to get working : MERGE INTO
I have a SOAP client in Ruby that I'm trying to get working with
I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK
I'm working on a project with a group that is using Eclipse, but I'm
I am working on a sample map application using Flex 4/fxg? Now I have
Is it possible to get and control a validation group using javascript? I was
I try to get all the members of my domain - using dsget group
i am new in programming under linux and trying to get working this code:

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.