Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You should do this instead:

git push —-force-with-lease repo branch



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: