| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:40c2fc8e-cdd8-c525-ecb2-d8601999beb5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F08:3D53F4:2A6BDA:394703:6A4D8B3E |
| html-safe-nonce | 04da3a89835584c959a6045cf1ad615aa6c433c975ebf0df36fe606e3b4c9ec1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjA4OjNENTNGNDoyQTZCREE6Mzk0NzAzOjZBNEQ4QjNFIiwidmlzaXRvcl9pZCI6IjE0MTMwNjkzODQ5MDYwMTc1OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a94cd830f65eb1ea1b5467c0e1e6bc4e837a1dd3152a0518ac16bdd6fc5cb308 |
| hovercard-subject-tag | pull_request:356867415 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/102/files |
| twitter:image | https://avatars.githubusercontent.com/u/5144808?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5144808?s=400&v=4 |
| og:image:alt | This PR is based #100 and should be reviewed after #100 is merged.
#57
Add init command for setup "name", "tag", "tag_format" when no config file exists. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/commitizen-tools/commitizen/pull/102/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F102%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fpull%2F102%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=commitizen-tools%2Fcommitizen |
| Reload | https://github.com/commitizen-tools/commitizen/pull/102/files |
| Reload | https://github.com/commitizen-tools/commitizen/pull/102/files |
| Reload | https://github.com/commitizen-tools/commitizen/pull/102/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
|
commitizen-tools
| https://github.com/commitizen-tools |
| commitizen | https://github.com/commitizen-tools/commitizen |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
|
Notifications
| https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen |
|
Fork
343
| https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen |
|
Star
3.5k
| https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen |
|
Code
| https://github.com/commitizen-tools/commitizen |
|
Issues
116
| https://github.com/commitizen-tools/commitizen/issues |
|
Pull requests
45
| https://github.com/commitizen-tools/commitizen/pulls |
|
Discussions
| https://github.com/commitizen-tools/commitizen/discussions |
|
Actions
| https://github.com/commitizen-tools/commitizen/actions |
|
Projects
| https://github.com/commitizen-tools/commitizen/projects |
|
Security and quality
0
| https://github.com/commitizen-tools/commitizen/security |
|
Insights
| https://github.com/commitizen-tools/commitizen/pulse |
|
Code
| https://github.com/commitizen-tools/commitizen |
|
Issues
| https://github.com/commitizen-tools/commitizen/issues |
|
Pull requests
| https://github.com/commitizen-tools/commitizen/pulls |
|
Discussions
| https://github.com/commitizen-tools/commitizen/discussions |
|
Actions
| https://github.com/commitizen-tools/commitizen/actions |
|
Projects
| https://github.com/commitizen-tools/commitizen/projects |
|
Security and quality
| https://github.com/commitizen-tools/commitizen/security |
|
Insights
| https://github.com/commitizen-tools/commitizen/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen%2Fissues%2Fnew%2Fchoose |
| woile | https://github.com/woile |
| commitizen-tools:master | https://github.com/commitizen-tools/commitizen/tree/master |
| Lee-W:init_command_on_new_config | https://github.com/Lee-W/commitizen/tree/init_command_on_new_config |
|
Conversation
5
| https://github.com/commitizen-tools/commitizen/pull/102 |
|
Commits
18
| https://github.com/commitizen-tools/commitizen/pull/102/commits |
|
Checks
0
| https://github.com/commitizen-tools/commitizen/pull/102/checks |
|
Files changed
| https://github.com/commitizen-tools/commitizen/pull/102/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
|
Init command
| https://github.com/commitizen-tools/commitizen/pull/102/files#top |
|
Show all changes
18 commits
| https://github.com/commitizen-tools/commitizen/pull/102/files |
|
bc624ee
feat(git): add get_latest_tag, get_all_tags
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/bc624ee1270e926e6e5d6954026672360969ba77 |
|
4533798
feat(commands/init): Implment init command
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/45337982ddd07248410fcdf4eda458d7b9144644 |
|
f9f80e0
feat(cli): add init command into cli
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/f9f80e05f00d27a8c885fe7820d8ce66a768430d |
|
ca5d598
fix(commands/init): fix logic error
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/ca5d598b48dbd125f051596f2d743238c7842681 |
|
1f8a8df
test(commands/init): add test case for init command
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/1f8a8df61123101cc17bd5920978ffa9c856cb3c |
|
9f88748
style(all): black
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/9f887483b42774ce797c8abc8a5c571103c0fbdb |
|
37e82be
feat(commands/init): add name into init question
Lee-W Nov 23, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/37e82be4be49debc94ddec3430aae95116410f46 |
|
8ea9618
feat(commands/init): Implment init command
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/8ea9618de698721345c7220f2f31620b853fef60 |
|
b7c8df2
fix(commands/init): fix logic error
Lee-W Nov 19, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/b7c8df2cd5f7bc00563e1a1244a39c7c093e8254 |
|
ad2bb02
fix(commands/init): fix init command broken due to newly refactored c…
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/ad2bb0292c3085c9fd5fe94076a579cf9dc41406 |
|
e65087c
style(commands): blackify
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/e65087cf07343414772fc373177a9e62f85bc14b |
|
001d848
feat(config): add init_empty_config_file
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/001d8483e32b7df62e5ef9d79128d167e6b97017 |
|
2bacb27
fix(commands/init): fix init commands cannot create config file
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/2bacb27e0f9fd0153e4535f9e86675be6fb1cf6e |
|
332c2f4
style(commands/init): blackify
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/332c2f43ed24de270d9dcbc86eb86f914d93736f |
|
4faf523
fix(commands/init): fix test_init_when_config_already_exists
Lee-W Dec 26, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/4faf5234d3cee4911e9e745962ed5ffb869e9c17 |
|
32fe3e7
fix(commands/init): read version in the format "x.y.z" instead of "vx…
Lee-W Dec 29, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/32fe3e79133cb9f8dd789a7143008da1beff1a05 |
|
94e5120
refactor(commands/init): add default for tag_format
Lee-W Dec 30, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/94e512091df84070fa507904952f994cea50f105 |
|
64b56d8
docs(index): add init command
Lee-W Dec 30, 2019
| https://github.com/commitizen-tools/commitizen/pull/102/commits/64b56d8a29b785520d60cc36156a0dc5dc6bab96 |
|
Clear filters
| https://github.com/commitizen-tools/commitizen/pull/102/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
|
cli.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-6a6eecba6ea4aab85dcb0372fe57ce7306496e5a47186850be245bd732e8894e |
|
__init__.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-625cc60907b18ae03f1c058111859b98223104c6faafc79eeeaa02bfeb17e693 |
|
init.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-43bdf96da59e2edd79c3797ccaf86dda6495266c02768cb045502851ebb047e8 |
|
ini_config.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-930732d1fd1d259905d6860463f2e2033a167f25ac48670672836f89dbcee964 |
|
toml_config.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7 |
|
git.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-2c36ae6439ace4898e030adb6f7a861fd8e5ae0002ca472cc97e627ea20b3d96 |
|
index.md
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 |
|
test_commands.py
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-5592e672cef095f585fc0083c44cdfb8aafdfc11904a484dfa2b0794b0079f35 |
| commitizen/cli.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-6a6eecba6ea4aab85dcb0372fe57ce7306496e5a47186850be245bd732e8894e |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/cli.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-6a6eecba6ea4aab85dcb0372fe57ce7306496e5a47186850be245bd732e8894e |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-6a6eecba6ea4aab85dcb0372fe57ce7306496e5a47186850be245bd732e8894e |
| commitizen/commands/__init__.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-625cc60907b18ae03f1c058111859b98223104c6faafc79eeeaa02bfeb17e693 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/commands/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-625cc60907b18ae03f1c058111859b98223104c6faafc79eeeaa02bfeb17e693 |
| commitizen/commands/init.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-43bdf96da59e2edd79c3797ccaf86dda6495266c02768cb045502851ebb047e8 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/commands/init.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
| Please reload this page | https://github.com/commitizen-tools/commitizen/pull/102/files |
| commitizen/config/ini_config.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-930732d1fd1d259905d6860463f2e2033a167f25ac48670672836f89dbcee964 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/config/ini_config.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-930732d1fd1d259905d6860463f2e2033a167f25ac48670672836f89dbcee964 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-930732d1fd1d259905d6860463f2e2033a167f25ac48670672836f89dbcee964 |
| commitizen/config/toml_config.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/config/toml_config.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-ca51a0ad54fe5bab3972507ec801fc9fd779296231f6ed5343c2ef6aa1826ee7 |
| commitizen/git.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-2c36ae6439ace4898e030adb6f7a861fd8e5ae0002ca472cc97e627ea20b3d96 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/commitizen/git.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-2c36ae6439ace4898e030adb6f7a861fd8e5ae0002ca472cc97e627ea20b3d96 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-2c36ae6439ace4898e030adb6f7a861fd8e5ae0002ca472cc97e627ea20b3d96 |
| docs/index.md | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/docs/index.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6 |
| tests/test_commands.py | https://github.com/commitizen-tools/commitizen/pull/102/files#diff-5592e672cef095f585fc0083c44cdfb8aafdfc11904a484dfa2b0794b0079f35 |
|
View file
| https://github.com/Lee-W/commitizen/blob/64b56d8a29b785520d60cc36156a0dc5dc6bab96/tests/test_commands.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/commitizen-tools/commitizen/pull/102/{{ revealButtonHref }} |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-5592e672cef095f585fc0083c44cdfb8aafdfc11904a484dfa2b0794b0079f35 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-5592e672cef095f585fc0083c44cdfb8aafdfc11904a484dfa2b0794b0079f35 |
|
| https://github.com/commitizen-tools/commitizen/pull/102/files#diff-5592e672cef095f585fc0083c44cdfb8aafdfc11904a484dfa2b0794b0079f35 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |