DEV Community

Discussion on: Is git commit --amend truly *important*?

Collapse
 
_garybell profile image
Gary Bell

Literally yesterday I was configuring a new CI pipeline for a new project. My console for changes and commits ended up being up -> enter so I could do the following: git add .gitlab-ci.yml && git commit -m "Changes for debugging" && git push origin 1-cicd-pipeline

I resorted to that because I was tired of writing commit messages which could be easily explained by the couple of lines that were changed, and it was to create the pipeline rather than update it.
Lazy commits finally got that part working after 9 commits.

At least I have some confidence that my IaC will work