diff --git a/FAQs.md b/FAQs.md index 54d2520..fa55e52 100644 --- a/FAQs.md +++ b/FAQs.md @@ -50,9 +50,17 @@ latest=$(git describe --tags `git rev-list --tags --max-count=1`) echo $latest sudo git checkout $latest ``` + +Alternatively, install a specific version by referencing a tag: + +``` +sudo git fetch --tags +sudo git checkout 2.4 +``` + A tag is a pointer that isn't connected to the main development tree that git knows about. As a result, git will reply that you're in a 'detached HEAD' state. This isn't a big deal, it just means that you have a specific version of the code that isn't connected to the git tree. -Alternatively, if you want the latest _bleeding edge_ commits from the master branch, use the following: +If you want the latest _bleeding edge_ commits from the master branch, use the following: ``` sudo git checkout master