Canopus NZ

Solutions that shine

Basic git flow with Hugo

This is a basic Git and Hugo flow, arguably there is always the discussion on the use of git pull rather than fetch and merge. However lets keep it straight forward. Ensure you are in the correct directory in Terminal within Visual Studio Code Run ‘git pull’ to refresh local repository Add new content either by adding the file in the Content/Post directory or via Hugo. Images go in the static/img directory (tidy up file names and filesizes).