Make sure you have an SSH key setup
ssh bitnami@<ip_address>
Change into the git repository
cd /bitnami/wordpress
Checkout master branch
git checkout master
Either stash current changes to save changes on the website
git stash
or remove all local changes on the website (REMOVES ALL UNSAVED CHANGES ON THE SERVER)
git reset --hard HEAD
Pull changes from this repository
git pull origin master
Enter your username and a personal access token for the password.
If successful, you should see something like this
* branch master -> FETCH_HEAD
Updating <commit hash>
Fast-forward
<filename> | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
If changes were stashed use
git stash pop
./wp-content/themes/astra-child-theme/assets/js/closure-compiler/minify_js.sh
sudo apt install npm
npm install --global gulp-cli
npm init -y
npm install --save-dev gulp
npm install --save-dev gulp-sass
npm install --save-dev sass
npm install --save-dev gulp-clean-css
npm install --save-dev gulp-rename
npm install --save-dev gulp-concat
npm install --save-dev google-closure-compiler
npm install --save-dev gulp-closure-compiler
npm install --save-dev concat
vim gulpfile.js
gulp default