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 ~