This repository has been archived by the owner on Jun 16, 2021. It is now read-only.
forked from streamich/git-cz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 feature/semantic-branch-names
`createBranch` to run inquirier to create custom branch names follow gitflow format where possible refactor: 💡 branchIssues, branchType(s), hasAlphaSpecialChar feat: 🎸 semantic-branch-names branchName should ask question Now this is getting needlessly complicated, haha. We should pass `branchName` in the `format` and if it is present, then and only then should we ask the question for an override. refactor: 💡 semantic-branch-names remove test values refactor: 💡 should we populate via branchName by branchPrefix refactor: 💡 suppress husky on --no-verify perf: ⚡️ remove node@10 support refactor: 💡 lint to match repo standards refactor: 💡 more lint fixes chore: 🤖 noo refactor: 💡 --branch attempt refactor: 💡 ---branch take deux refactor: 💡 break out of commitizen prompter for branch names refactor: 💡 allow husky pass for --continue BREAKING CHANGE: ⚡️ remove node@10 support refactor: 💡 remove --branch console refactor: 💡 lift up branchName refactor: 💡 attempt again at lift refactor: 💡 wait what commenting this out works test: 💍 kind of, is rev-parse the prblem here refactor: 💡 run.js is not even a thing refactor: 💡 yup check against dryRun() for stsaged fileds refactor: 💡 wut refactor: 💡 how many checks do you want you moron refactor: 💡 one more time refactor: 💡 here i am refactor: 💡 just needed to pass --allow-empty refactor: 💡 update snapshots refactor: 💡 prep for merge update README hack hack hack
- Loading branch information
1 parent
428f1aa
commit 4e0289e
Showing
19 changed files
with
520 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
{ | ||
"disableEmoji": false, | ||
"format": "{type}{scope}: {emoji}{subject}" | ||
"format": "{type}{scope}: {emoji}{branchName}{subject}", | ||
"branch": { | ||
"format": "{branchType}{branchName}", | ||
"projectCode": "ABC-", | ||
"questions": ["branchName", "branchPrefix", "branchType"] | ||
}, | ||
"questions": ["branchPrefix", "type", "subject"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
[ -n "$CI" ] && exit 0 | ||
|
||
yarn pretty-quick --staged | ||
exec < /dev/tty | ||
node ./lib/cli.js --hook || true | ||
|
||
if ps -o args= $PPID | grep -E -q ' --no-verify| -n | -n$' ; then | ||
: | ||
elif ps -o args= $PPID | grep -E -q ' --continue| -c | -c$' ; then | ||
: | ||
else | ||
: | ||
yarn pretty-quick --staged | ||
exec < /dev/tty | ||
node ./lib/cli.js --hook || true | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.