Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| async function getCommits(owner, repo, startDate, endDate, accessToken) { | |
| const baseUrl = `https://api.github.com/repos/${owner}/${repo}/commits`; | |
| let page = 1; | |
| let allCommits = []; | |
| let hasMoreCommits = true; | |
| try { | |
| while (hasMoreCommits) { | |
| const url = `${baseUrl}?since=${startDate}&until=${endDate}&page=${page}&per_page=100`; // Fetching 100 commits per page (max allowed) |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| /* =WordPress Core - Sassified. | |
| -------------------------------------------------------------- */ | |
| .alignnone { | |
| margin: 5px 20px 20px 0; | |
| } | |
| .aligncenter, div.aligncenter { | |
| display: block; | |
| margin: 5px auto 5px auto; | |
| } |