We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For Move The Latest Commit To A New Branch, you can do it even more simply:
git branch my-new-branch git reset --hard HEAD~
because git branch, unlike git checkout -b, doesn't actually take you to the newly created branch.
git branch
git checkout -b
The text was updated successfully, but these errors were encountered:
@cletusw nice catch, I'm gonna start using that approach.
Sorry, something went wrong.
No branches or pull requests
For Move The Latest Commit To A New Branch, you can do it even more simply:
because
git branch
, unlikegit checkout -b
, doesn't actually take you to the newly created branch.The text was updated successfully, but these errors were encountered: