-2

I don't know how, but as you can see in the image i have a new empty master (4644f4b). How can i delete the new master and replace it with the old master? (9cf450d)

bitbucket project tree

Sascha Wolf
  • 17,034
  • 4
  • 47
  • 72
Karmagy
  • 127
  • 1
  • 1
  • 10
  • 1
    [Didn't you ask this exact question a few hours ago?](http://stackoverflow.com/questions/28453577/git-remove-commit-from-master-and-return-to-a-previous-commit) – Sascha Wolf Feb 11 '15 at 15:46

1 Answers1

0

You need to reset the branch to point to the previous commit:

git reset --hard 9cf450d
SLaks
  • 837,282
  • 173
  • 1,862
  • 1,933