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

1 vote
Answer accepted

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 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 Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,233 views 4 2
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