From 5bad85aeba858a53333d1ccdd5c1b8531f0fa09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Petit?= Date: Sun, 8 Jan 2017 00:32:15 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a5386e..c6fcc8d 100644 --- a/README.md +++ b/README.md @@ -565,7 +565,7 @@ To delete a local branch: ### 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. +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. ```sh (my-branch)$ git reset --hard ORIG_HEAD