Skip to content

Commit 586efe0

Browse files
authored
Merge pull request #7229 from guettli/patch-2
use `--force-with-lease`
2 parents 251037f + 792dd9b commit 586efe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributors/guide/github-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ To squash your commits, perform an [interactive rebase](https://git-scm.com/book
230230
4. Force push your changes to your remote branch:
231231

232232
```
233-
git push --force
233+
git push --force-with-lease
234234
```
235235

236236
For mass automated fixups such as automated doc formatting, use one or more

0 commit comments

Comments
 (0)