Skip to content

Add skip_checkout option#197

Merged
stefanzweifel merged 1 commit intostefanzweifel:masterfrom
cmbuckley:skip-checkout
Jan 10, 2022
Merged

Add skip_checkout option#197
stefanzweifel merged 1 commit intostefanzweifel:masterfrom
cmbuckley:skip-checkout

Conversation

@cmbuckley
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants