From e96f3eaa2eee55fcf19089dd0aed746687f2a26b Mon Sep 17 00:00:00 2001 From: ARNik Date: Mon, 4 Apr 2022 16:33:34 +0300 Subject: [PATCH] Interactive rebase for all commits --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a786ee..8ac1ef6 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,9 @@ git reset --hard # resets all #3, #2 and #1 --- ## git rebase ``` -git rebase # rebase using commits's hash -git rebase -i HEAD~n # interactive rebase for last n commits +git rebase # rebase using commits's hash +git rebase -i HEAD~n # interactive rebase for last n commits +git rebase -i --root HEAD # interactive rebase for all commits ``` --- ## git commit referencing using ^ and ~