Description
Expected behavior would be to temporarily stash unstaged changes, run file modifications, commit, and restore stash after commit has been added.
Steps to reproduce
- Create commit with valid version commit message
- Create unstaged changes to any file
- Run
cz bump
Current behavior
Unstaged changes are included in version bump commit
Desired behavior
Only version changes/changelog are included in bump commit
Screenshots
No response
Environment
Commitizen Version: 4.13.9
Python Version: 3.13.11 (main, Dec 17 2025, 20:55:16) [Clang 21.1.4 ]
Operating System: Darwin
Description
Expected behavior would be to temporarily stash unstaged changes, run file modifications, commit, and restore stash after commit has been added.
Steps to reproduce
cz bumpCurrent behavior
Unstaged changes are included in version bump commit
Desired behavior
Only version changes/changelog are included in
bumpcommitScreenshots
No response
Environment
Commitizen Version: 4.13.9
Python Version: 3.13.11 (main, Dec 17 2025, 20:55:16) [Clang 21.1.4 ]
Operating System: Darwin