title: The way to "reinit" repository
body: <p>I've made kind of a big refactoring in my project: I renamed files, removed, added... Besides, I added some folders in .gitignore. However, I've already made a commit to a remote repository before refactoring.</p>
  
  <p>Is there any to make git "reinit" for my repository? If there is not, what should I do?</p>
  
  <p><strong>Update</strong>:</p>
  
  <p>I have deleted the folder .git and now I have an error of </p>
  
  <blockquote>
    <p>hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. </p>
  </blockquote>
  
  <p>I don't want to merge the local changes with the remote repo, I just want to push there, meaning completely replace the remote repository with the local one.</p>