Skip to content
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

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

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

abhinav
Copy link
Owner

@abhinav abhinav commented Aug 15, 2024

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

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
Copy link
Owner Author

abhinav commented Aug 15, 2024

This change is part of the following stack:

Change managed by git-spice.

@abhinav abhinav merged commit 4fb0588 into main Aug 15, 2024
7 checks passed
@abhinav abhinav deleted the bc-commit-opt-out branch August 15, 2024 12:50
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.

branch create without forcing an empty commit?
1 participant