abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

branch create: --[no-]commit flag, branchCreate.commit option #347

Closed abhinav closed 2 months ago

abhinav commented 2 months ago

The flag defaults to --commit. Users can use --no-commit on a one-off basis to create a branch without committing changes.

Alternatively, users can set spice.branchCreate.commit to false to make --no-commit the default behavior. They may then use --commit on a one-off basis to commit changes.

Resolves #332

abhinav commented 2 months ago

This change is part of the following stack:

Change managed by git-spice.