DEV Community

Discussion on: What are your worst coding habits?

Collapse
 
bsatrom profile image
Brandon Satrom

So many, here are a few that come to mind...

  • git add .
  • git commit -m {same message as the last commit, but I forgot something and don’t feel like writing a new message}
  • git push origin master
Collapse
 
daanwilmer profile image
Daan Wilmer

git commit --amend could work, although it would require a sinful git push -f if you've already pushed it.

Collapse
 
mandaputtra profile image
Manda Putra

Im still use git add . 🤣