Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
harasuke191y@We3D And this one was the same reaction of the poor guy that have to manage the repo 😂
-
Good fucking lord what is this
Not sure if you can ever demangle this mess
Word of advice though, try to do ff-only, even if the others in the project dont.
Merge commits lead to pretty painful situations -
Is it because of merge commits? Did you try to merge the branch back (master into development for example)
-
harasuke191yThis was a common situation some months ago. Right now I’m not sure how the solved it but it’s a lot more contained (a less mess but still a mess)
@WildOrangutan yes, it’s for merge commits. I’m not going to push anything for the moment. Honestly; I’m scared. Let’s see when the day will come
@LotsOfCaffeine thanks for the advice! I’ll look into it -
This is what it looks like when you open up a random panel on the USS Enterprise
-
@harasuke ah so monorepo. That's not even that bad, especially if the projects share a lot of code.
-
Monorepos are common, either filter the branches or just don't use a tree view. I never got what people use them for anyway. To me almost everything is quicker with a combination of CLI and timeline view.
-
If the tree is too big and causing problems I've heard that there's something called a partial checkout, I can't say I used it but it was designed for this purpose.
-
Many projects use a monorepo manager which solves a lot of problems inherent to the pattern. I don't think it changes the branches though, but I don't think the number of branches is a problem either. It's not like you need to touch anything other than the ancestors of your work items.
-
Also, some history visualizers do a better job, when it comes to merge commits:
https://ricostacruz.com/til/...
Related Rants
I recently started my professional journey as a developer and I stumbled upon a very strange git repo configuration..
Background: The projects consist on a web app and a lot of backend services in C# (1 service on each project).
The project manager decided to configure the the git repo as a single repo with all of the different projects for the services and the project of the webapp. All in one. Everytime you update something the merge results absurd and this happened…
rant
funny
strange
git