- When code developers create many commits,
- after releases we don’t need that many commits ,
- then we can merge some commits with the previous commit.
replace pick with squash on before commit hash what you what to merge
Then after if we see git log, the squash commit will not be in the list , but the files still available in the working directory