It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cannot stash - SourceTree

Hi!

I have problem when I try to stash mu changes on source tree. I get error:

git -c diff.mnemonicprefix=false -c core.quotepath=false stash save test
Cannot save the current worktree state
Completed with errors, see above.

I tried updating SourceTree to 3.0.15, it didn't help. Then I tried deleting and installing it again. That didn't help ether. I didn;t have this problem until a month ago. It worked fine before. 

I will be thankful if someone can help me with this issue!!!

1 answer

0 votes

Hi Natalija, welcome to the Community!

Have you tried performing this operation in the command line? Are you getting the same error?

If the command line works, then the issue is in Sourcetree. Can you check the logs and let us know if there's any additional information there? You can find them at Sourcetree log location.

If the issue persists, can you also answer the following:

  1. Are you on Windows or Mac?
  2. Do you have any anti-malware software?

Cheers!

Ana

I've had this exact issue for a very long time, since one of the early 2.x versions.  It worked prior to that.  I use system git, and stashing from command line has worked all long.

EDIT: I take it back: running the exact same command in git bash yields the same result, but using 'git stash push' works correctly. Could be a git problem.

I had the exact same problem running SourceTree 2.6.10.0 on Windows 10.

Symptoms:

  • Git stash in SourceTree raises the `Cannot save the current worktree state` error.
  • `git stash save message` raises the same error

Workaround:

  • `git stash` still works

Solution:

  • Installed Git version 2.21.0.windows.1 from the link @Colin Cass mentioned.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,999 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you