Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Version Control

Ben edited this page Jul 1, 2021 · 2 revisions

once you have finished writing and saved your Markdown file (it is recommended that you start your local server and preview the complied pages to see how they looks), you will need to version control the project through Git. While saving a Markdown file is a way to save the current article, version control is a way to save the current state of the entire project, so that you can sync any additions or deletions of the local project to the remote repository.

open the local project folder 📁 two-dishes-one-fish (you maybe change the folder name, just open the root folder of the project) using the VS Code Editor, click the Source Code Manager button on the left hand side of the editor and follow the instructions below to save the current state of the project.

git commit

💡 if the project files was obtained by downloading the ZIP file from the Github repository, then the project may not have been initialised for version control, and this can be done by following the instructions in the picture. just clicking the Initialise repository button to initialise the project, and then you can track changes of the project status.

git init