In this tutorial we will merge several commits into one single commit
Navigate to your project directory:
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| // Borrowed & modified from https://github.com/jenseng/abuse-the-platform/blob/main/app/utils/singleton.ts | |
| // Thanks @jenseng! | |
| export const singleton = <Value>( | |
| name: string, | |
| valueFactory: () => Value, |