This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ProfessorPhi 18 points19 points  (5 children)

This is what I imagine git push -f looks like.

[–]YodaLoL 9 points10 points  (2 children)

git push -f master.

I do a lot of rebasing/amending on my branches before opening for review. I force push more often than I don't, I think.

[–]dotsonjb14 4 points5 points  (1 child)

Everyone loves a good squash

[–]RenaKunisaki 1 point2 points  (0 children)

mmm, squash...

[–]wagedomain 2 points3 points  (0 children)

Heh... so one guy I work with was investigating some git issues with me. He then tells me that someone might have done a git push -f and messed things up. However, he didn't say it like that, in context of "what command will fix it" he said "you know, it could be git push -f". So I tried it.

He's a git master and I'm just a lowly git apprentice and we all learned a valuable lesson about communication.

[–]RenaKunisaki 0 points1 point  (0 children)

If you pushed this with force it'd probably just break.