1675 add a 'Squash your commits' header to 'Advanced Rebasing' section in git

This commit is contained in:
zahash 2023-08-29 15:32:12 +05:30 committed by Tshepang Mbambo
parent 1f77525b1b
commit f83c46a12e
1 changed files with 2 additions and 0 deletions

View File

@ -351,6 +351,8 @@ upstream.
## Advanced Rebasing ## Advanced Rebasing
### Squash your commits
If your branch contains multiple consecutive rewrites of the same code, or if If your branch contains multiple consecutive rewrites of the same code, or if
the rebase conflicts are extremely severe, you can use the rebase conflicts are extremely severe, you can use
`git rebase --interactive master` to gain more control over the process. This `git rebase --interactive master` to gain more control over the process. This