-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
  • 16,854
  • 2
  • 29
  • 61
IanPoli
  • 49
  • 4

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
  • 49
  • 4