Hugo project on existing gitlab repo transfer to new computer

Hi, I have my hugo website stored on gitlab. I have a new computer I need to sync to the repo. What are the steps I need to do to be able to update this website again? How does the directory structure of this need to be can I just download the repo and put that folder anywhere? Does it have to be inside of some Hugo folder?

You need to do 3 things:

  1. pull the repo on your machine (where you want)
  2. install Hugo on your computer
  3. run hugo server and watch if you have some errors. Perhaps you will need to update your project or install an old version of Hugo

Thanks! I’m also confused. The Github repo seems to have different content than is actually hosted on the site? I’m not sure where to find where in the repo the current version actually is. Or how to update my site to what’s currently in the repo since I’ll be redoing a lot of this anyways? There are only 2 branches in the repo and neither one seems correct with the content?

Nevermind this is resolved

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.