Good day everyone!

I accidentally synchronized a branch and now I cannot transfer the origin / master branches back to the local unit-testing branch from the server. I tried and merge and move, all unsuccessfully.

How to roll back changes from the "origin / master" server branch back to the local unit-testing. So that they are on the same line as "unit-testing" in this screenshot ?:

enter image description here

  • at home locally - no way. You need to change the "origin / master" link on the server that is hidden behind the "origin" alias. - aleksandr barakin pm
  • @aleksandrbarakin - Want to say in azuredev that you need to do this? It's just that there is no server to find at all and there is only moving between local branches: imgur.com/wL0RGpl - Intercititude 2:29 pm
  • ru.stackoverflow.com/a/429519/178576 , only in your case the reset should not be done on the previous commit ( HEAD^ ), as in the example, but on the one you need ( unit-testing or what you need there). Well, highlighted in yellow in the answer, of course, be sure to read and understand. - aleksandr barakin

0