Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zimbu668
on June 23, 2024
|
parent
|
context
|
favorite
| on:
I kind of like rebasing
You should do this instead:
git push —-force-with-lease repo branch
ajb
on June 23, 2024
[–]
This. --force-with-lease is what --force should have been in the first place. Hopefully they will eventually make it so, and rename --force to something less accessible.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
git push —-force-with-lease repo branch