Answer the question
In order to leave comments, you need to log in
How to clean up git?
Stupid question.
If you use git to store the site and subsequent development.
All the files that have ever been used in the process are stored in the .git folder
. It grows....
Is there a way at some point to kind of start "from scratch"? Delete all change history?
Answer the question
In order to leave comments, you need to log in
It must be remembered that
GIT - the stupid content trackerGit will not do the work for the developer.
This article will explain how to use two of them: git filter-branch and the BFG Repo-Cleaner .
Create a new repository and put your files in it, leave the old one as a keepsake :)
Answer to the question
https://www.youtube.com/watch?v=jRuaiXdzrXM
At a certain moment, when everything works smoothly) and no rollbacks are foreseen, I demolish .git and do git init on a new one))) Yes, it’s dumb) But 100 pounds)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question