Skip to content

Commit 2064a8b

Browse files
authored
A force push would have been fine
1 parent f6ae3fe commit 2064a8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git/rewrite-repo-remove-secrets.md

+1
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ git remote remove origin
120120
git remote add origin [email protected]:simonw/my-repo.git
121121
git push -u origin main
122122
```
123+
This was likely unnecessary: the GitHub documentation says that a force push should remove all traces of the old commits.

0 commit comments

Comments
 (0)