-1

I have a remote repository with some commits and pushs, but I need to undo all and bring master to develop repo.

$ git log --oneline 4000708 (HEAD -> develop, origin/master, origin/HEAD, master) Initial Commit

sytech
  • 29,298
  • 3
  • 45
  • 86
IanPoli
  • 99
  • 8

1 Answers1

-1

I resolved this with the following commands:

$ git checkout develop
$ git reset --hard master
$ git push origin --force

If you have any better or different solution, please let me know :D

Peace!

IanPoli
  • 99
  • 8