Skip to content

Unstaged changes are lumped together with changelog + version updates for cz bump #1939

@zaharoian

Description

@zaharoian

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

  1. Create commit with valid version commit message
  2. Create unstaged changes to any file
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions