Debugging tips and Tricks


  • Revert

    To revert the last commit just do git revert ; then you can push this new commit, which undid your previous commit. To fix the detached head do git checkout .

  • Revert

    To test a specific commit, you need the hash. To get the hash you can run git log. To test the previous commit just do git checkout ; then you can test that last working version of your project.

I will get back to you ASAP.