Answer the question
In order to leave comments, you need to log in
How to update files in master?
Whether I, or the second programmer, overwrote the file on the prod without a git (yes, I know, it's a bug), now my edits are not applied (which I push normally, with a git), help, can you push the update with "brute force"?
Answer the question
In order to leave comments, you need to log in
git reset --hard origin/master
But note that this command will break all uncommitted changes that are tracked by git. Run it on a copy of the source
of the prod. *Master - the branch that the prod usually looks at. If you don't, please point to the correct branch.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question