Updated Squashing Commits (markdown)
parent
3814bdbec9
commit
a089579cff
@ -35,7 +35,7 @@ git commit -e
|
||||
git push --force origin super-feature
|
||||
```
|
||||
|
||||
1. Or, you can use rebase. Let's say you have 5 commits to squash and you don't have merge commits:
|
||||
1. <a name="simple"></a>Or, you can use rebase. Let's say you have 5 commits to squash and you don't have merge commits:
|
||||
```
|
||||
git rebase -i HEAD~5
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user