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

Add skip_checkout option #197

Merged
merged 1 commit into from Jan 10, 2022
Merged

Add skip_checkout option #197

merged 1 commit into from Jan 10, 2022

Conversation

cmbuckley
Copy link
Contributor

Add an option to skip git checkout when a branch is provided. This makes it possible to mimic the following flow:

git checkout initial-branch
git add $stuff
git commit -m $message
git push -f origin HEAD:new-branch

@cmbuckley cmbuckley changed the title Add skip_checkout option Add skip_checkout option Jan 10, 2022
Copy link
Owner

@stefanzweifel stefanzweifel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR and writing a test for it. Looks good. 👍
Will merge and tag this later today.

@stefanzweifel stefanzweifel merged commit 8040434 into stefanzweifel:master Jan 10, 2022
@cmbuckley cmbuckley deleted the skip-checkout branch January 10, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants