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

Adds --push option when creating new branches #165

Merged
merged 53 commits into from
Dec 30, 2024

Conversation

geofflamrock
Copy link
Owner

@geofflamrock geofflamrock commented Dec 30, 2024

Background

This PR is part of a series that separates commands that operate on the local Git repository from those that operate against the remote. This is to help align the tool to the way that Git itself operates.

Changes

This PR adds a --push option to the stack new and stack branch new commands to push a newly created branch to the remote. The previous behaviour was to always push the branch, and has been changed to be opt-in to match the local first nature of Git.

@geofflamrock geofflamrock added the minor Increment the minor version when merged label Dec 30, 2024
Base automatically changed from add-push-command to main December 30, 2024 11:43
@geofflamrock geofflamrock merged commit 0f3ed93 into main Dec 30, 2024
17 checks passed
@geofflamrock geofflamrock deleted the add-push-option-to-new-branch branch December 30, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant