public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* status shows no changes but stage won't pop
@ 2025-12-02 19:23 Lipofsky, Dan -ND
  2025-12-02 22:20 ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Lipofsky, Dan -ND @ 2025-12-02 19:23 UTC (permalink / raw)
  To: git@vger•kernel.org

I believe I've uncovered a weird bug in the git client (2.49.0 and 2.52.0, installed with brew on MacOS 15.6.1).

status shows no changes, but stash won't pop because it says it would overwrite local changes

$ git status -u
On branch release/2.0.0
Your branch is ahead of 'origin/release/2.0.0' by 16 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean

$ git stash pop
error: Your local changes to the following files would be overwritten by merge:
	src/main/java/com/wdpr/nge/edt/gstexpds/web/ExperienceRecordController.java
Please commit your changes or stash them before you merge.
Aborting
On branch release/2.0.0
Your branch is ahead of 'origin/release/2.0.0' by 16 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
The stash entry is kept in case you need it again.

$ git version
git version 2.52.0


So how did I get here?
I did something weird (accidentally, because I was distracted with multiple windows open).
I was doing a "git rebase -i" from the command-line,
while at the same time I staged a change using Sourcetree,
and then exited the rebase (I think without actually changing anything).


I have no idea how to fix this. I tried removing and checking out the problem file, but that didn’t help.


Thanks,
Dan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-03 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 19:23 status shows no changes but stage won't pop Lipofsky, Dan -ND
2025-12-02 22:20 ` brian m. carlson
2025-12-03 14:40   ` Lipofsky, Dan -ND

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox