Merge pull request #2042 from willtsai/dco-in-contributing-overview

simplify git command for DCO
This commit is contained in:
greenie-msft 2021-12-13 15:19:13 -08:00 committed by GitHub
commit 314dadc1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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