From 850d5ca4197f1e8b3aacab68a2afa1842c536ede Mon Sep 17 00:00:00 2001 From: Developer Davo Date: Tue, 31 Oct 2017 09:46:16 +0100 Subject: [PATCH] Add note about theme versions in hosting-on-netlify.md --- .../hosting-and-deployment/hosting-on-netlify.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/hosting-and-deployment/hosting-on-netlify.md b/content/hosting-and-deployment/hosting-on-netlify.md index 22a2b09cb..9f34f5168 100644 --- a/content/hosting-and-deployment/hosting-on-netlify.md +++ b/content/hosting-and-deployment/hosting-on-netlify.md @@ -114,6 +114,22 @@ cd themes git submodule add https://github.com// ``` +It is recommended to only use stable versions of a theme (if it’s versioned) and always check the changelog. This can be done by checking out a specific release within the theme's directory. + +Switch to the theme's directory and list all available versions: + +``` +cd themes/ +git tag +# exit with q +``` + +You can checkout a specific version as follows: + +``` +git checkout tags/ +``` + ## Next Steps You now have a live website served over https, distributed through CDN, and configured for continuous deployment. Dig deeper into the Netlify documentation: