diff --git a/docs/download/v5.8.x-from-git.md b/docs/download/v5.8.x-from-git.md index 2c7a562f..0ea10343 100644 --- a/docs/download/v5.8.x-from-git.md +++ b/docs/download/v5.8.x-from-git.md @@ -7,12 +7,21 @@ stable branch 5.8 (release series v5.8.x). Direct download of sources from GIT for latest Kamailio v5.8.x. - git clone --depth 1 --no-single-branch https://github.com/kamailio/kamailio kamailio - cd kamailio - git checkout -b 5.8 origin/5.8 +``` + git clone --depth 1 --no-single-branch https://github.com/kamailio/kamailio kamailio + cd kamailio + git checkout -b 5.8 origin/5.8 +``` *Note: if your git client version does not support **–no-single-branch** command line parameter, then just remove it.* +Or, for newer git versions, with direct branch 5.8 checkout: + +``` + git clone --depth 1 --branch 5.8 https://github.com/kamailio/kamailio kamailio + cd kamailio +``` + *Note: if you want to have the full commit history, then remove **--depth 1** command line parameter.*