-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: Index file is empty (.git/index) #2476
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hello @Esma-De 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
@Esma-De I can't tell from your issue what CLI command you're running. |
I have ran into this issue before as well. The way that I was able to start pushing/pulling files from Salesforce again was by going to the .sf\orgs(Org ID)\localSourceTracking\index and renaming the index file to a different name. Once I did that I reattempted the send and it created a new index file for me. |
@bjconover how did you know to do that? Your solution worked for me. Nice job! |
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted. |
your solution works for me , thanks |
Summary
When I tried to retrieve or deploy to my sandbox I had this error 'An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: Index file is empty (.git/index) '
For this org I also had an error "Metadata API request failed: EBUSY: resource busy or locked, open '.sf\org\00D3H0000000PELUA2\localSourceTracking\index'
When I connected my trailhead org and retrieved and deployed there it worked with no error.
Steps To Reproduce
Expected result
Actual result
System Information
PASTE_VERSION_OUTPUT_HERE
Additional information
The text was updated successfully, but these errors were encountered: