From e058e0923873515cb8ffeb455f3e1f835f5cb295 Mon Sep 17 00:00:00 2001 From: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Date: Sat, 20 Feb 2021 00:37:26 -0800 Subject: [PATCH] [vcpkg docs] Update the versioning.getting-started.md --- docs/users/versioning.getting-started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/users/versioning.getting-started.md b/docs/users/versioning.getting-started.md index 8ae03f884f319b..6be419adfdd7c7 100644 --- a/docs/users/versioning.getting-started.md +++ b/docs/users/versioning.getting-started.md @@ -46,6 +46,7 @@ Create a folder with the following files: **main.cpp** ```c++ #include +#include int main() { @@ -160,7 +161,7 @@ If you want to upgrade your dependencies, you can bump the minimum version const "builtin-baseline": "b60f003ccf5fe8613d029f49f835c8929a66eb61" ``` -This field declares the versioning baseline for all ports. But what is a baseline? What does it do? Why is the value a SHA? +This field declares the versioning baseline for all ports. Setting a baseline is required to enable versioning, otherwise you will get the current versions on the ports directory. You can run 'git rev-parse HEAD' to get the current commit of vcpkg and set it as the builtin-baseline. But what is a baseline? What does it do? Why is the value a SHA? From the [versioning documentation](versioning.md):