Back to the lesson

Original working file

reference/assignment-walkthrough.txt

Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.

ILLUSTRATIVE WORKED WALKTHROUGH

These steps explain a complete approach. They are not a claim that this live provider/account test was performed for you. Use your own project and record your actual observations.

1. Before the first commit, put 'Portfolio version P1' in a visible paragraph. Save the page, inspect GitHub Desktop's Changes diff, commit only index.html/style.css/netlify.toml/.gitignore and push the intended branch. In GitHub's file view confirm that those four files are at the repository root.

2. Record the commit ID as P1. In Netlify select the same repository/branch, leave build command empty and use publish='.'. Match the successful deploy's commit to P1, then open its public URL signed out and read the marker. Change the marker to P2, repeat commit/push/deploy, and retain both records.

3. A useful diagnosis is: repository=P2, deploy=P1, public marker=P1 → investigate branch/build/deploy status. A different case is deploy=P2, public marker=P1 → first inspect the requested hostname/response and cache. Do not publish a secret to test whether Git can hide it; inspect the staged diff and any existing history before pushing.