1export const pluralize = (count, singular, plural) => {
2 const isPlural = count === 0 || count > 1;
4 return `${count} ${singular}${isPlural ? 's' : ''}`;
7 return isPlural ? plural : singular;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list