All files show as unstaged on a samba drive

I've added a working copy of a repository cloned on a shared samba drive of a linux server. Most SourceTree functionality seems to work normally, except for that in the "File Status" tab I see all the project's files as "unstaged", although I haven't touched any of them.

Is there any way to fix / work around this?

2 answers

1 accepted

This widget could not be displayed.

You mean re-clone the samba repository to a local clone and add that to SourceTree? It behaves the same.

But i found that if i do "git config core.filemode false" – it solves the issue.

This widget could not be displayed.

This has been asked many times before.

To summarize, you should use that server as a remote, not as network-mounted "local" drive.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you