mirror of
https://github.com/mike-rambil/Advanced-Git.git
synced 2026-05-03 21:51:29 -05:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
d064999b5c
commit
59361a747c
@@ -55,7 +55,7 @@
|
||||
- [Miscellaneous](#miscellaneous)
|
||||
|
||||
# Advanced Git Commands
|
||||
---
|
||||
|
||||
|
||||
## Latest
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
|
||||
## 📌 `git push --force-with-lease`
|
||||
---
|
||||
|
||||
`git push --force-with-lease` ensures you don’t accidentally overwrite someone else’s work when force-pushing. It checks if the remote branch still matches what you last pulled. If someone else has pushed changes in the meantime, your push is rejected, preventing unintended data loss.
|
||||
|
||||
### 🔹 Problem:
|
||||
|
||||
Reference in New Issue
Block a user