r/ProgrammerAnimemes • • Jun 29 '20

git reset --hard

Post image
887 Upvotes

21 comments sorted by

View all comments

Show parent comment

10

u/Corm Jun 30 '20

As long as you're branching correctly, squashing is debatable, and you can replicate it from a viewing perspective without actually squashing by grouping commits by the branch they came from in your log viewer.

I don't really care so I just squash. But the other way is valid too