How deranged is using one git repo?
My(27M) girlfriend’s(26F) friend’s(25F) boyfriend(32M) was showing me an application he built for work (he’s an accountant) on his laptop. He was pretty proud of it and it did what he wanted pretty well (PDF gen with a pretty extensive data layer, the UI was 23 buttons vertically stacked on the left side of the page). However while he was finishing I noticed that he had literally every single project he had ever done all in one git repo. hello worlds, his personal website, a unity game, all of it in one repo. This included 15 python tools he had built for somewhat advanced file processing and routing.
I asked if he had just one git repo and he said “Ya I wanted to have everything in one place so it wouldn’t get mixed up with other people’s repo, and I don’t have to go to each repo and pull each one down” Every project he would just make a new branch, work on that branch, and just never stop working on the branch. In his local he would just ignore the other projects.
“If it ever yells at me I just use git stash or move everything else then move it back”
It was incredible how extensively he used git and failed to grasp why it was used. He said “I started using it because I heard it what programmers used for this kinda stuff so I figured I should” and also said “Main is the one I use the most” which he would use to push his meeting notes from the day, and also occasionally use a folder called FileTranser (his typo not mine). He would use it a lot, sometimes pushing then deleting the same file multiple times in a row.
He is a lot smarter than this post makes him seem, but it was crazy how little he grasped git after using it daily for over a year.
I didn’t want to be that guy, so I just said “Whatever works for you man” and started talking about something normal, but I’m still kinda haunted by it. I feel kinda guilty, and like I should have said something. Has anyone made this mistake as a beginner, or seen someone else do stuff this crazy with git?