title: How to revert to previous commit after pull without losing previous changes?
body: <p>I tested the changes on local side with my newly implemented code, and everything worked fine.  Once I committed the changes and pushed those changes to GitHub, I pulled from that repository within my server which is on Linux. Rebuilding the server failed as it ran into an error.</p>
  
  <p>How do I revert back to my previous pull without losing these changes that I just pulled?</p>