Search This Blog

Thursday, April 16, 2020

git error: Invalid object Error building trees



During git commit -m 'text'  we observed error 

error: invalid object 100644 b1bc4dae98865adf256e130c6bce53bb09d3e93b for 'path/helloworld.java'


To solve this kindly use 

git hash-object -w path/helloworld.java

it has sorted the issue.

Cheers,

No comments:

Post a Comment

Thanks for your comment, will revert as soon as we read it.

Popular Posts