We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a06ad63 + fc4e2d7 commit 77ab680Copy full SHA for 77ab680
2 files changed
commitizen/cli.py
@@ -155,7 +155,7 @@ def main():
155
out.error("Command is required")
156
raise SystemExit()
157
158
- if args.name:
+ if args.name and not conf["name"]:
159
conf.update({"name": args.name})
160
161
if args.version:
commitizen/config.py
@@ -118,7 +118,7 @@ def read_cfg() -> dict:
118
conf = read_pyproject_conf(data)
119
else:
120
warnings.warn(
121
- ".cz, setup.cfg, and .cz.cgf will be deprecated "
+ ".cz, setup.cfg, and .cz.cfg will be deprecated "
122
"in next major version. \n"
123
'Please use "pyproject.toml", ".cz.toml" instead'
124
)
0 commit comments