<commit_before>#!/bin/sh
set -ue

echo "\033[1mStashing changes\033[0m"
git add -A
git stash
branch="$(git name-rev --name-only HEAD)"
echo "\033[1mPushing to GitHub\033[0m"
git checkout -b master
git add -f _data/events.yml images/events
git commit -m "Include auto-generated content"
git push -f origin master
git checkout "$branch"
git branch -D master
echo "\033[1mRestoring changes\033[0m"
git stash pop > /dev/null<commit_msg>Update deploy script<commit_after>#!/bin/sh
set -ue

echo "\033[1mStashing changes\033[0m"
git add -A
git stash
branch="$(git name-rev --name-only HEAD)"
echo "\033[1mPushing to GitHub\033[0m"
git checkout -b master
git add -f _data/events/group.yml _data/events/page.yml images/events
git commit -m "Include auto-generated content"
git push -f origin master
git checkout "$branch"
git branch -D master
echo "\033[1mRestoring changes\033[0m"
git stash pop > /dev/null
{'fraction_non_alphanumeric': 0.12458286985539488, 'fraction_numerical': 0.05339265850945495, 'mean_word_length': 4.421686746987952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1307379', 'n_tokens_mistral': 352, 'n_tokens_neox': 312, 'n_words': 108}