Update docs/restore_repo.md
This commit is contained in:
@@ -143,19 +143,6 @@ git push origin --tags
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Step 7 — If the remote was not empty (force push)
|
|
||||||
|
|
||||||
Only use this if the remote already has commits (like an auto README) and you want your local project to become the “truth”.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git push --force origin --all
|
|
||||||
git push --force origin --tags
|
|
||||||
```
|
|
||||||
|
|
||||||
⚠️ Warning: Force push overwrites the remote history.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Quick checklist
|
## Quick checklist
|
||||||
|
|
||||||
* [ ] I made a backup (bundle or folder copy)
|
* [ ] I made a backup (bundle or folder copy)
|
||||||
|
|||||||
Reference in New Issue
Block a user