Hacker News new | ask | show | jobs
by Spoom 4339 days ago
This is dangerously vague.

Scenario: "When I try to push, I get an error message"

Answer: "...you must force push (-f) your changes"

A newbie could follow that advice and blow away their teammates' commits. Better advice would be to think twice and then consult someone with more experience before you even think of using git push -f.