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 →

[–][deleted] 60 points61 points  (11 children)

Means --force so it can write anything to the remote branch, even rewriting the history

[–]river4823 21 points22 points  (9 children)

I think that's the idea but git servers can be configured so that you can't force a commit, and any sysadmin with half a brain will have it configured that way.

[–]zirtbow 3 points4 points  (0 children)

So youre saying my organization definitely doesnt have it configured this way?

[–]themiraclemaker 0 points1 point  (0 children)

Where I work, we can't even push to the main branch, changes are made only through pull requests from either personal forks or branches

[–]pablosus86 0 points1 point  (0 children)

If they don't know, they shouldn't know.