GIT - Clone a specific Git branch
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GIT - Clone a specific Git branch
Для того чтобы скопировать определенную ветку (branch) с git проекта выполните команду:
# git clone -b <branch> <remote_repo>
Примеры:
$ git clone -b release-1.4 https://github.com/roundcube/roundcubemail $ git clone -b master https://github.com/roundcube/roundcubemail