Skip to content

Fixes #56: feat(Commands/commit): add ´--dry-run´ flag to the Commit command #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2019
Merged

Conversation

danvergara
Copy link
Contributor

Generate a commit message without doing anything

closes #56

@Lee-W
Copy link
Member

Lee-W commented Nov 19, 2019

@woile Is there any way to retrigger the pipeline? I've tested this branch and pass on my local as well.

@woile
Copy link
Member

woile commented Nov 19, 2019

I've triggered it myself manually, but next time you can "amend" your commit (which creates a new hash) and force push.

git commit --amend --no-edit
git push -f origin <branch>

@woile
Copy link
Member

woile commented Nov 19, 2019

It's failing because of flake8, you can run it locally by running ./scripts/test.

tests/test_commands.py:97:5: F841 local variable 'success_mock' is assigned to but never used

Once the error is fixed you can run this and done:

git commit -a --amend --no-edit
git push -f origin <branch>

@danvergara
Copy link
Contributor Author

danvergara commented Nov 19, 2019 via email

Generate a commit message without doing anything

closes #56
@woile woile merged commit 83a1de6 into commitizen-tools:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --dry-run option to command commit
3 participants