Rant: Lost a whole afternoon because I didn't commit my code before a merge
I was working on a simple website project last Tuesday, sitting in my home office around 3 PM. I had about 4 hours of changes to a CSS file and some new JavaScript functions. Before I knew it, git decided to auto-merge something and it overwrote all my work from that day. Turns out, I was on the wrong branch the whole time and never committed first. Has anyone else had git eat hours of work like this?