Answer the question
In order to leave comments, you need to log in
Should I reset the repository when it is littered?
Given:
- Git repository with three years of experience
- Well-established development process in VCS
- All merge operations were performed through TortoiseGit
I want to get rid of: -
a very crooked history in the first year (because the development process has not yet settled down)
- the appearance of about 10 branches out of nowhere, that is, they come out earlier than the first commit (see image)
Goal:
-Achieving order in the repository
Actually the question is:
Who has an opinion, is it worth creating a clean repository, transferring working files there and starting the story over from the beginning? At the same time, the old repository was sent to the archive in case of analysis.
And also a secondary question:
Does anyone know the reason for the appearance of branches "out of nowhere"?
Answer the question
In order to leave comments, you need to log in
A branch cannot appear out of nowhere because every commit except the first one has parents.
Most likely TortoiseGit isn't rendering you correctly.
Well, or someone severely destroyed the repository structure :)
As for the history of commits - in my opinion, this is something that is implemented disgustingly in Git (at least when compared with mercurial ) and the value of such a history is not very great.
If you want - create a new repository, why not.
PS What is SLE? :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question