Skip to content

Commit

Permalink
A force push would have been fine
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jan 25, 2023
1 parent f6ae3fe commit 2064a8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git/rewrite-repo-remove-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,4 @@ git remote remove origin
git remote add origin [email protected]:simonw/my-repo.git
git push -u origin main
```
This was likely unnecessary: the GitHub documentation says that a force push should remove all traces of the old commits.

0 comments on commit 2064a8b

Please sign in to comment.