DEV Community

Discussion on: Enhancing your git commit messages

Collapse
 
rafaelcpalmeida profile image
Rafael Almeida

Hey Saša,

It appears to be something wrong with your Terminal. Take a look at mine:

~/projects/git-hooks-templates  master ✔                                                                                                                                                                     11m  
▶ echo "feature/444-ala-bala-dala" | sed -E -e 's:^(\w+)\/([^-]*-[^-]*)-.*:\2:' -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
444-ALA