Skip to main content
The 2024 Developer Survey results are live! See the results
11 of 16
Rollback to Revision 2
Daniel Alexiuc
  • 13.2k
  • 9
  • 59
  • 73

Just do this:

git checkout master

If that hasn't fixed it, this will:

git checkout -b temp
git branch -f master temp
git checkout master
Daniel Alexiuc
  • 13.2k
  • 9
  • 59
  • 73