Answer the question
In order to leave comments, you need to log in
How to sync git branches after revert in one of them?
There are 2 branches master and dev. In master, a commit was reverted, in which a merge from dev was made. After that, several files do not want to be synchronized - git reacts as if everything is already synchronized and there are no differences. How can branches be synchronized?
Answer the question
In order to leave comments, you need to log in
I solved the problem by cloning the repository again, because. there are redundant commits in that. But I'm sure there must be a better solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question