Last active
November 25, 2020 00:38
-
-
Save ccondry/ffa9589bf470e830d01e3da47c6fd360 to your computer and use it in GitHub Desktop.
use test branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# go to demo-ui project | |
cd /opt/dcloud/demo-ui | |
# reset permissions to administrator user | |
chown -R administrator:administrator * | |
chown -R administrator:administrator .git/* | |
# go to demo-api project | |
cd ../demo-api | |
# reset permissions to administrator user | |
chown -R administrator:administrator * | |
chown -R administrator:administrator .git/* | |
# log in as administrator | |
su administrator | |
# get changes from git | |
git fetch | |
# use test branch | |
git checkout -b test | |
# sync test branch to github test branch | |
git branch --set-upstream-to=origin/test test | |
# update demo-api project | |
./update.sh | |
# go to demo-ui project again | |
cd ../demo-ui | |
# get changes from git | |
git fetch | |
# use test branch | |
git checkout -b test | |
# sync test branch to github test branch | |
git branch --set-upstream-to=origin/test test | |
# update demo-api project | |
./update.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment