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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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