mirror of https://github.com/dapr/docs.git
simplify git command for DCO
Signed-off-by: Will Tsai <william.wl.tsai@gmail.com> Signed-off-by: Antonio Robson de Paula <robson.p@sidi.org.br>
This commit is contained in:
parent
471e4f7f78
commit
9d9c72345c
|
@ -97,10 +97,8 @@ No worries - You can easily replay your changes, sign them and force push them!
|
||||||
|
|
||||||
```
|
```
|
||||||
git checkout <branch-name>
|
git checkout <branch-name>
|
||||||
git reset $(git merge-base main <branch-name>)
|
git commit --amend --no-edit --signoff
|
||||||
git add -A
|
git push --force-with-lease <remote-name> <branch-name>
|
||||||
git commit -s -m "one commit on <branch-name>"
|
|
||||||
git push --force
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Code of Conduct
|
## Code of Conduct
|
||||||
|
|
Loading…
Reference in New Issue