Interactive rebase for all commits
This commit is contained in:
parent
ae290204ed
commit
e96f3eaa2e
@ -17,8 +17,9 @@ git reset --hard # resets all #3, #2 and #1
|
|||||||
---
|
---
|
||||||
## git rebase
|
## git rebase
|
||||||
```
|
```
|
||||||
git rebase <hash> # rebase using commits's hash
|
git rebase <hash> # rebase using commits's hash
|
||||||
git rebase -i HEAD~n # interactive rebase for last n commits
|
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 ~
|
## git commit referencing using ^ and ~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user