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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:24:03+00:00 2026-06-01T13:24:03+00:00

I’ve got bonobo git server that’s supposed to handle syncing among at least 2

  • 0

I’ve got bonobo git server that’s supposed to “handle syncing” among at least 2 machines, for now.

It was working fine but lately I’ve ran into one big problem with it and a related second one with git itself:

  1. I can’t simply push from each client into it without getting the faded “non-fast-forward” issue, and though I believe it’s an issue with bonobo and bare servers, its creator begs the differ, briefly.

    The following is not a copy paste, but it is the command I use when I get the issue and, as far as I recall, the warning should be very similar to this:

    git push -u "server"
    ! [rejected]        server/master     -> master  (non-fast-forward)
    
  2. Today I also can’t even fetch from one client into another without getting the “non-fast-forward” freaking issue. Then I tried pushing from it into the server with the mirror option, which is the only one that works for pushing into the server due to issue #1, and pulling from the server on my machine. For my surprise, that worked! But now trying to fetch or pull from the other machine, the issue persists. My problem here is: why?!

    The following is just a copy & paste from Git Extensions:

    git fetch --progress "client" 
    Done
    From \\\CLIENT\project\git
    ! [rejected]        master     -> client/master  (non-fast-forward)
    

    I’ve actually fixed this using git fetch -f "client", but I still don’t know what happened.

Disclaimer: Now I’m already going to git-scm.com to try and learn in details how the hell git works. Maybe I shouldn’t even be trying to “fully sync everything” after all…

—

edit: Besides the obvious “not pulling before” issue, I’ve found two reasons why this could potentially be happening, but none helped fixing in my case: using rebase for editing past commits which are already replicated elsewhere or having same branches under different names, which must happen for the master at very least. This later one makes a lot of sense, except that it works some times and, after some pushes it stops working. Plus, on the fetch side, using fetch -f, it didn’t broke any branches. So that wasn’t 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-06-01T13:24:04+00:00Added an answer on June 1, 2026 at 1:24 pm

    As much as I have read resources around as I promised, I’m still far from being 100% confident dealing with every aspect of git. Still, I could finally find solutions for my issues here, and it’s been stable for at least 1 month now.

    For the 1st issue (non-fast-forward thing) I’ve found out 3 causes.

    I’ll mostly copy from bonobo forums:

    1. git commit --ammend

      I use this from time to time and I’m pretty sure if you push a commit then amend it and try to push it again, it will not be accepted. The only way I found around this issue is overwriting the push with the git push --mirror

    2. checkout older commits

      If there’s a branch both local and in the server but my local branch is somewhere in the history before the same branch in the server, the push will fail. This has a simple solution: checkout the newest or newer commits than what’s been pushed.

    3. conflicts

      As many said, merging. If the same branch (usually the master) is in different places because one machine pushed it to the server without merging first, then the other machine has to pull, merge and then it will be able to push just fine.

    This 3rd point is where I think it gets really weird… In a bare repository, from what I understand, merging shouldn’t be needed because it would not keep a consistency track of branches or tags, it’d just register where they are. Anyway…

    For the 2nd issue it was most likely one of those 3 causes as well.

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

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a

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.