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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:53:05+00:00 2026-06-03T23:53:05+00:00

This question might be a long shot because I still cannot reliably duplicate the

  • 0

This question might be a long shot because I still cannot reliably duplicate the issue but it has happened to several of my coworkers on many occasions and it still baffles me.

Occasionally Git Extensions (on Windows 7) will show pending changes in their working directory that are not their own after they commit and do a push. The push fails because it says they have pending changes, despite the fact that they just barely committed all their pending changes before the push. This is the point when I get called over. Upon examination of the changes they are changes that were made by another committer and pushed up to origin. A couple times the changes have even been changes that were done by me.

Devloper A (we’ll call Bob) goes ahead and makes a series of changes to his repository. Bob then commits those changes and pushes the commit up to origin.

Developer B (w’ll call Fred) also makes some changes and commits them to his repository. Fred then tries to push those changes up to origin. At this point I would expect Fred to get an error saying that his repository is behind origin by 1 commit and tell him to do a pull first. However, the error he gets says the push failed because he has pending changes in his working directory. When Fred looks at the pending changes he sees that all the changes are actually the changes made in Bob’s commit.

When Fred commits those changes as if they were his own then all seems well. Nothing breaks from it but it’s extremely bizarre when it happens. I have yet to see what happens if we try to undo the pending changes because I am afraid the changes will essentially be reverted if we did that.

Has anyone else ever experienced this odd behavior with Git or Git Extensions?

Update

I found an instance in our project history where this happened. Both commits have the same exact changes to the same number of files, but the commits are done by two different developers.

Here is Bob’s original commit:

And here is Fred’s wonky commit:

Edit: Just to clarify, Fred meant to type “push changes” as the commit message because it was the act of trying to push (not pull) that caused the mysterious pending changes to appear.

  • 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-03T23:53:07+00:00Added an answer on June 3, 2026 at 11:53 pm

    Can you copy and post the error message, when it happens next time? Content of Help -> Git command log would be also helpful. Does Fred have checked Auto pull on rejected option (FormPush -> Advanced options)?

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

Sidebar

Related Questions

It might be a long shot posting this question here but we will see.
This question might be a bit long and specific, but I have been attempting
I know this might be a long shot, but I am hoping that this
:) This might look to be a very long question to you I understand,
Firstly, This might seem like a long question. I don't think it is... The
This question might belong on one of the other trilogies, but it sorta seemed
This question might be closed as it sounds vague but I'm really asking this
I know this question might have already been discussed a thousands of times but
I mostly develop using C#, but I think this question might be suitable for
This question might seem very specific but I am in need of some ideas

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.