Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Commit failed after the company changed server - windows 10

Dear all,

I'm very new to git and I only used Sourcetree for this purpose. 

Recently our server at work has been changed. Before we used a simple NAS drive, now there is a regular server. My Git repo changed the address and this is what I also updated in my sourcetree. And commit worked for a week or so, but today I have this message:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/awozniak/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe" commit -q -F C:\Users\awozniak\AppData\Local\Temp\1fwwoora.nkv -a
fatal: fsync error on 'sha1 file': Bad file descriptor
Completed with errors, see above.

I have already updated Sourcetree, since I found on some forum it could be problem with an old version, but it didn't help. I have version 3.2.6 and Windows 10.

Which I do not understand at all. I can't commit any code.

If anyone knows what is wrong, I would be grateful for help.



1 answer

0 votes
Mike Corsaro Atlassian Team Sep 17, 2019

Hello! Sounds like there's something corrupted with the repo itself. Can you commit from the command line? If you run the following command does it work?

git commit -a


You can run commands manually by opening the repo and clicking "Terminal" If that doesn't work, you'll probably need to delete and re-clone the repository.

Thanks for your answer.

It worked for a while, so I didn't reply anything, but now I have this problem again. I did what you suggested and here is the message from terminal:

fatal: fsync error on 'sha1 file': Bad file descriptor

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

5,754 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you