/
githubmirror
/
hugo
Обзор
Документация
Войти
/
githubmirror
/
hugo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
pull-docs.sh
6 строк
266 B
Bjørn Erik Pedersen
Allow the pull-docs script to pull other than master
23 сен 2017, 11:13
23 сен 2017, 11:13
9436f0b
Код
Авторство
О чём код?
#!/bin/bash HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}" # We may extend this to also push changes in the other direction, but this is the most important step. git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash