DEV Community

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

Collapse
 
lewiscowles1986 profile image
Lewis Cowles • Edited

Been using this since 2018 when another dev showed. A good tip is to use git config so autosquash is default behaviour for rebase.

git config --global rebase.autosquash true
Enter fullscreen mode Exit fullscreen mode