title: GitHub - how do I replace files in repo with new ones?
body: <p>I have a Jekyll blog that I have hosted on GitHub Pages. What I am trying to do is update the existing repo with my new files. I wasn't sure what to do because I didn't want to delete the repo, and I didn't want duplicate files (old and new), just my new files from my new directory. </p>
  
  <p>My question is (giving another breakdown first)- </p>
  
  <ul>
  <li>I have deleted the old directory <strong>locally</strong> that included my hosted GitHub Pages Jekyll blog files.</li>
  <li>I re-made a new Jekyll blog <strong>locally</strong> under the same name as my previous directory (using *jekyll new username.github.io *)</li>
  <li>I still have my old blog files in my jekyll blog repo on GitHub. </li>
  </ul>
  
  <p>I would like to delete the old files (but not the repo), and update that repo with my new blog files. How would I go about doing that? </p>