Reputation: 143
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.
My question is (giving another breakdown first)-
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?
Upvotes: 1
Views: 20347
Reputation: 1748
Assuming it's a normal git repo, you should be able to link it with the upstream repo in the usual way (further details to come in an edit).
Jekyll/Github docs: https://help.github.com/articles/using-jekyll-with-pages
You should be able to run git push
from your new repo, and it should just work. If not, hopefully a git pull
beforehand should solve it. If not, post a comment and I'll see if I can help.
Upvotes: 1