simplify git command for DCO

Signed-off-by: Will Tsai <william.wl.tsai@gmail.com>
This commit is contained in:
Will Tsai 2021-12-10 17:24:23 -08:00
parent aa0aa0343c
commit e10eb1ba28
1 changed files with 2 additions and 4 deletions

View File

@ -97,10 +97,8 @@ No worries - You can easily replay your changes, sign them and force push them!
```
git checkout <branch-name>
git reset $(git merge-base main <branch-name>)
git add -A
git commit -s -m "one commit on <branch-name>"
git push --force
git commit --amend --no-edit --signoff
git push --force-with-lease <remote-name> <branch-name>
```
## Code of Conduct