Unable to stash when working tree contains a symbolic link

Allan Young October 23, 2013

Hello.

I have a working tree that includes a symbolic link (on my Mac, an Alias). When I try to stash the files in my working tree, I get this error:

error: 'dev/LICENSE' is beyond a symbolic link
fatal: Unable to process path dev/LICENSE
Cannot save the current worktree state

In this case, the file 'LICENSE' is in the directory aliased by a symbolic link.

Is it not possible to perform a stash on a working tree containing a symbolic link?

1 answer

0 votes
cimscloud June 29, 2016

I too am having this issue, googled several pages deep, they all say symliks should be fine, or add them to the .gitignore file, or .git/config setting.  Nope, nope and nope.  how to fix this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events