DEV Community

Discussion on: 🚀 One Git Trick for Perfect Commits 🛠️

Collapse
 
0ro profile image
0ro

Thank you for sharing your thoughts and concerns. You've raised some important points that should definitely be considered when deciding how to manage your Git workflow, especially for juniors.

The suggestion of using fresh commits and squashing when merging is a sound practice, but it might not be the best fit for every project. Some teams prefer a more streamlined approach to maintain clarity in their commit history.

Ultimately, the decision should be based on a combination of factors, including project requirements, team consensus, and individual familiarity with Git practices. It's valuable to have a range of strategies in your Git toolkit to adapt to different situations.

There is no a silver bullet for each case, and it can lead to long discussion, with my article I wanted to add one more way how handled such cases.

Thank you again. I will consider to add a disclaimer in the article based on your comment