Day 01 - 15/09/2026 (On-site)

Work Completed

  • Studied the structure of Hugo’s content directory.
  • Practised creating and editing Markdown files.
  • Learned how to use the hugo-theme-learn theme.
  • Checked the website after changing the content.

Git Practice

Common Commands

CommandMeaning
git initCreate a new Git repository
git remoteManage connections to remote repositories
git cloneCopy a remote repository to the local machine
git fetchDownload remote changes without merging them
git pullDownload and merge remote changes
git statusShow the current repository state
git branchList, create, or delete branches
git switchMove to another branch
git checkoutSwitch branches or restore files
git addStage changes for the next commit
git commitSave staged changes to the repository history
git commit --amendUpdate the latest commit
git pushUpload local commits to a remote repository
git resetUnstage changes or move commit history
git rebaseReapply commits on top of another branch
git rebase -iEdit, squash, or reorder commits interactively
git stashTemporarily save uncommitted work
git stash popRestore the latest stashed work
git mergeCombine changes from another branch
git cherry-pickApply a specific commit to the current branch

Merge Conflict Handling

SituationSolution in Source Control
Keep changes from both branchesOpen the file, edit the conflict manually, then mark it as resolved
Keep the current branch versionUse Accept Current Change in the conflict editor
Keep the incoming branch versionUse Accept Incoming Change in the conflict editor
Cancel the mergeOpen Source Control, use the ... menu, then choose Abort Merge
Resolve conflicts manuallyReview the marked conflict blocks and keep the correct final code

Example of Each Command

git init

git remote

git remote

git clone

git fetch

git fetch

git pull

git pull

git status

git status

git branch

git branch

git switch

git switch feature

git switch main

git switch -c

git checkout

git add

git add

git commit

git commit

git commit typo

git commit –amend

git commit –amend

git log

git log –oneline

git push

git reset

git reset –soft

git rebase

git rebase -i

git stash

git stash

git stash pop

git stash pop

git merge

git merge fast-forward

git merge conflict

git cherry-pick

git cherry-pick

Challenges Encountered

  • Needed to get familiar with Hugo’s Front Matter.
  • Some changes had to be re-checked on the local environment.

Plan for the Next Day

  • Continue completing the weekly report.
  • Learn how to customise the theme.
  • Check the responsiveness and navigation of the website.