Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,939
Community Members
 
Community Events
168
Community Groups

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.

Best

 

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
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,685 views 134 29
Read article

Atlassian Community Events