See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| const stages = ['production', 'staging', 'development', 'test'] as const; | |
| type Stage = typeof stages[number]; | |
| function getStage(stages: Stage[]) { | |
| if (!stages.length) return 'production'; | |
| for (const stage of stages) { | |
| // if any of the provided stages is production, assume we are in production | |
| if (stage === 'production') { |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"