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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:51:08+00:00 2026-05-31T16:51:08+00:00

I can’t pop my stash because I merged a branch which apparently conflicts with

  • 0

I can’t pop my stash because I merged a branch which apparently conflicts with my stash and now my stash is seemingly unable to be popped.

app.coffee: needs merge
unable to refresh index

Anyone know how to resolve this?

  • 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-31T16:51:09+00:00Added an answer on May 31, 2026 at 4:51 pm

    First, check git status.
    As the OP mentions,

    The actual issue was an unresolved merge conflict from the merge, NOT that the stash would cause a merge conflict.

    That is where git status would mention that file as being "both modified"

    Resolution: Commit the conflicted file.


    Solution: in this case, simply add and commit your local file.

    Actually, just git add -- yourFile, or (if you don’t want those changes) git reset -- yourFile (to unstage it) is enough to get past the error message.

    If you do not want to commit, just git add yourFile is enough.
    You can then git stash the rest if you want.


    You can find a similar situation 4 days ago at the time of writing this answer (March 13th, 2012) with this post: "‘Pull is not possible because you have unmerged files’":

    julita@yulys:~/GNOME/baobab/help/C$ git stash pop
    help/C/scan-remote.page: needs merge
    unable to refresh index
    

    What you did was to fix the merge conflict (editing the right file, and committing it):
    See "How do I fix merge conflicts in Git?"

    What the blog post’s author did was:

    julita@yulys:~/GNOME/baobab/help/C$ git reset --hard origin/mallard-documentation
    HEAD is now at ff2e1e2 Add more steps for optional information for scanning.
    

    I.e. aborting the current merge completely, allowing the git stash pop to be applied.
    See "Aborting a merge in Git".

    Those are your two options.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
Can someone help me with this scenario? *There is a button, which when tapped,
Can someone tell me how does the imdb app manage to play trailers on
Can a LINQ enabled app run on a machine that only has the .NET
Can anyone let me know how can we change the value of kendo combobox
Can I order my users in the database, so I don't have to say
Can I change the field public virtual ClassOne ClassOne { get; set; } to
Can I authenticate with just Google account username and password instead of using OAuth?
Can any one tell, how to get the result of LINQ query contains group
Can we change the default action of the edit selected row button? Here is

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.