mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-22 16:06:19 -05:00
Forcing reset of branch when checking out git branch.
This commit is contained in:
parent
9194e47e76
commit
b5ea4fe3de
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ npm install -g 'git+https://github.com/pirate/readability-extractor'
|
|||
# Get the latest WROLPi code
|
||||
git --version
|
||||
git clone https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi || :
|
||||
(cd /opt/wrolpi && git fetch && git checkout "${BRANCH}" && git pull origin "${BRANCH}" --rebase) || exit 3
|
||||
(cd /opt/wrolpi && git checkout "${BRANCH}" && git reset --hard origin/"${BRANCH}") || exit 3
|
||||
|
||||
# Setup the virtual environment that main.py expects
|
||||
pip3 --version || (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue