git – fatal: confused by unstable object source data for
Recently I was trying to put lots of files into git by adding everything into newly created repo.
I was getting constantly following error
fatal: confused by unstable object source data for fcebb983508ce(…)
The issue here is, that git doesn’t tell you which object exactly is responsible for the issue.
Problem was that this object was not added into .git/objects directory so it was not possible to track it down.
Eventually, I have decided to use find and narrow the issue to a single file – it worked. Eventually, it turned out that file, that was causing troubles had single quote mark in the name (‘).
how did you use find to narrow it?
just use find command with -exec parameter and try to add each file separately instead of adding everything at once