title: Complete reset of a git repository
body: <p>I have a git repository in which I have made quite a few changes, and pushed to a remote location.</p>
  
  <p>I wish to reset the repository to the 3 commit from the first, push it to the remote branch. I'm considering doing the following :-</p>
  
  <ul>
  <li>git reset </li>
  <li>git push origin master</li>
  </ul>
  
  <p>A couple of doubts regarding the same?</p>
  
  <ul>
  <li>Would this be the right way to do it?</li>
  <li>I have deleted certain files and added a few files after the 3rd commit(from the first). I wish to change all that back to the state of the 3rd commit(get back the deleted files, remove the newly added ones). How could I go about doing that?</li>
  </ul>
  
  <p>Thanks.</p>
  
  <p>[EDIT]
  I'm a solo developer on this project at this point in time. Also there are quite a few commits made so Id rather not manually have to revert each one of them.</p>