I have recently downloaded and started using Sourcetree - love it.
One repo and set of pushes to my SamG bucket was fine, great.
Now I am trying to add files to a new commit using the 'everguide-newsletter-creator' repo, and keep getting this error:
fatal: Unable to write new index file
Why is this happening on my mac? I have ample disk and memory space available?
This is usually a permissions problem or a file locking problem. I'd check that you have full access to the entire folder and all of its subdirs (especially the .git hidden folder), and that nothing else could be holding persistent locks on the file system somehow (ultimately a reboot should make sure this isn't the case). Otherwise, there are a few ideas here: http://stackoverflow.com/questions/3813962/git-problem-fatal-unable-to-write-new-index-file
HI Steven - thanks for this.
Your're right - the files were being stored on a Mac Mini Lion Server - thus SourceTree was unable to reset the owner/group permissions on the files, as I've seen it do locally on my mac.
So - hopefully a feature for the future, but at this time I just switched the Repo over to drop box, and that allowed me to alter the permissions.
Would have saved hours had the command line errors been a little more descriptive!
Not your fault thought :)
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot