Ever found yourself spending more time brainstorming the perfect branch name than actually coding? If so, you just need to type c
or cranch
.
c
or
cranch
cranch
is a tiny library to create a random branch name. You know, it is a very difficult thing to think of a great name.
npm install cranch -g
cranch
support some option to create a prefix name.
cranch -f
It will checkout a branch named feat-xxxxxx
.
cranch [-f --feat]
feat-xxxxxx
cranch [-fi --fix]
fix-xxxxxx
cranch [-d --doc]
doc-xxxxxx
cranch [-s --style]
style-xxxxxx
cranch [-r --refactor]
refactor-xxxxxx
cranch [-f --perf]
perf-xxxxxx
cranch [-t --test]
test-xxxxxx
cranch [-c --chore]
chore-xxxxxx
cranch [-rv --revert]
revert-xxxxxx