<commit_before>#!/bin/bash

function doEverythingElse() {
  commit="Deploying master to gh-pages by $USER"
  echo If you would like to include a commit message, add one and press RETURN.
  read personalized
  if [ -z "$personalized" ]; then
    $commit = "$commit: $personalized"
  fi
  git commit -m "$commit"
  echo Done committing.

  echo Ready to push? Caution: your changes will be live on the internet! [y/n]
  read confirm
  if [ "$confirm" = "y" ]; then
    git push origin gh-pages
    echo Done pushing.
  else
    echo Oh well. Run this script again later when ready.
  fi
  cd ../../
  echo --------------------
  echo Deleting the temporary repo copy.
  rm -rf multiplatform-deploy-tmp
  echo Done deleting.
  cd pvta-multiplatform
}

cd ../
mkdir multiplatform-deploy-tmp
echo Downloading a copy of pvta-multiplatform to be safe
cd multiplatform-deploy-tmp
git clone https://github.com/umts/pvta-multiplatform.git
echo Done downloading!
cd pvta-multiplatform
echo Preparing to deploy master to gh-pages.
git checkout gh-pages
git merge master
mv www/* .
rm -rf www
bower install
mv www/bower_components .
rm -rf www
git add -A
echo "-------------------------------------------------------------------------------------------------------"
echo Before we commit and push, open a new tab in your terminal.
echo ""
echo Navigate to ../multiplatform-deploy-tmp/pvta-multiplatform
echo<commit_msg>Added ability to use ssh cause brian is a [censored]<commit_after>#!/bin/bash

function doEverythingElse() {
  commit="Deploying master to gh-pages by $USER"
  echo If you would like to include a commit message, add one and press RETURN.
  read personalized
  if [ -z "$personalized" ]; then
    $commit = "$commit: $personalized"
  fi
  git commit -m "$commit"
  echo Done committing.

  echo Ready to push? Caution: your changes will be live on the internet! [y/n]
  read confirm
  if [ "$confirm" = "y" ]; then
    git push origin gh-pages
    echo Done pushing.
  else
    echo Oh well. Run this script again later when ready.
  fi
  cd ../../
  echo --------------------
  echo Deleting the temporary repo copy.
  rm -rf multiplatform-deploy-tmp
  echo Done deleting.
  cd pvta-multiplatform
}

cd ../
mkdir multiplatform-deploy-tmp
echo Downloading a copy of pvta-multiplatform to be safe
cd multiplatform-deploy-tmp
echo Do you use https or ssh [1 or 2]?
read cloneMethod
if [ "$cloneMethod" = "1" ]; then
  git clone https://github.com/umts/pvta-multiplatform.git
else
  git clone <EMAIL>:umts/pvta-multiplatform.git
fi
echo Done downloading!
cd pvta-multiplatform
echo Preparing to deploy master to gh-pages.
git checkout gh-pages
git merge master
mv www/* .
rm -rf www
bower install
mv www/bower_components .
rm -rf www
git add -A
echo "-------------------------------------------------------------------------------------------------------"
echo Before we commit and push, open a new tab in your terminal.
echo ""
echo Navigate to ../multiplatform-deploy-tmp/pvta-multiplatform
echo
{'fraction_non_alphanumeric': 0.162054018006002, 'fraction_numerical': 0.0010003334444814939, 'mean_word_length': 2.4364261168384878, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2716472', 'n_tokens_mistral': 911, 'n_tokens_neox': 861, 'n_words': 361}