Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
alertJS3128yStupid question, but does this retain git history ? Or will everything be overwritten
-
Ajite4658y@alertJS It basically forces the remote branch to look exactly like your local copy. Therefore commits will only change back to your last pull from that branch. Think of it like "resolve all using mine and discard everything else". So yes, other's commits since your last pull will be deleted from history.
-
alertJS3128y
-
Most of the Repo's I commit to I am the only person committing to them, and recently I coded myself into a big 'ol fucking mess, and in my clean up caused way more conflicts than I was willing to go through...So push force...Felt sooooo much shame...
Related Rants
It's definitely friday in the office.
undefined
git
rollsafe
friday