Main.blocks not updated when commiting

I was working on this game and after I committed, it seemed like all the changes disappeared. So I look into the commit I want to restore, and there is only 1 changed file. (which is main.ts) The diff for main.ts looks fine but main.blocks was never updated in this commit:

You can see when you browse the repo at this commit:


That main.blocks was stuck at the previous commit while main.ts is fine. Is there any way I can fix it?

2 Likes

Alright I just copied and pasted the TypeScript from that commit and reformatted all the blocks. It wasn’t fun to say the least :joy:

2 Likes

I just had to redo an entire commit, block by block because of this. :frowning: This was a big one too. Out of every commit I’ve been making recently, it’s always the big ones that happen.

Does anyone have any solutions / ideas why this keeps happening?

2 Likes