main
Nguyen Tran Hau 2020-07-10 11:18:24 +07:00
parent a474e6ac86
commit ae643d011c
1 changed files with 14 additions and 0 deletions

View File

@ -56,3 +56,17 @@ Rewrite history by changing last `x` commits :
```sh
git rebase -i HEAD~x
```
Squash last `x` commits to 1 commit:
```sh
git reset HEAD~x
git add -A
git commit
```
Cleanup unnecessary files:
```sh
git gc
```