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 undo rebase/merge #102

Merged
merged 3 commits into from
Jan 9, 2017
Merged

ADD undo rebase/merge #102

merged 3 commits into from
Jan 9, 2017

Conversation

gaetan-petit
Copy link
Contributor

Please correct my broken english :)

Please correct my broken english :)
<a name="undo-rebase">
### I want to undo rebase/merge

You may have merge/rebase your current branch with a wrong branch, or you simply cannot manage to achieve a correct result or even finish the rebase/merge process. Git is saving the original HEAD pointer in ORIG_HEAD, so it is simple to recover your branch at the state before the rebase/merge.
Copy link
Collaborator

Choose a reason for hiding this comment

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

You may have merged or rebased your current branch with a wrong branch, or you can't figure it out or finish the rebase/merge process. Git saves the original HEAD pointer in a variable called ORIG_HEAD before doing dangerous operations, so it is simple to recover your branch at the state before the rebase/merge.

This reads a bit better. Make sense?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@gaetan-petit Do you want to add this to the PR and edit it? Or do you want me to?

@gaetan-petit
Copy link
Contributor Author

@RichardLitt I updated my PR 😃

@RichardLitt RichardLitt merged commit 1cb8a57 into k88hudson:master Jan 9, 2017
@RichardLitt
Copy link
Collaborator

Thank you!

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.

2 participants