Add Git branch name to each commit

https://medium.com/weekly-webtips/how-to-create-and-run-git-hooks-d395ec60d0d

Overview

Details

sudo chmod 755 .git/hooks/prepare-commit-msg

1. master
2. production
3. staging
4. main

Final Thoughts

https://static.thenounproject.com/png/854669-200.png

DevSecOps Engineer https://irtizaali.com/