Git commit error

I am new to Git and totally disappointed with this. I am using Eclipse on Windows. I imported from the repository and made some changes. Now I want to send these changes back to the repository. From the reading I made (and I made a lot of it), I understand that I need to make these changes. Next to the name of my project, I see an up arrow and number 1 inside the brackets.

So, I right-click on the name of the project, select the command, and then Commit. Then I get this error:

Error calculating diffs Missing tree

followed by a hexadecimal string.

I have a complete loss. I tried doing this through github.com and through the Windows desktop application. Nothing works. Can someone please help me? Thanks.

+4
source share
2 answers

Use MSysGit on the command line. For everyday use, the IDE Git integration is reevaluated. You will have a history of what you have done (no need to remember which menu item you selected or which button you clicked on the toolbar), pipeline, scripting and tab. You do not get any of these benefits from the integrated SCM tool.

Also, using Git the way it was intended to be used, from the command line you will find more help on the line than you would in any other way.

+1
source

I got this error after updating Windows updates, but without restarting the computer. After the reboot, everything worked again.

0
source

Source: https://habr.com/ru/post/1445596/


All Articles