<commit_before>#!/bin/bash

if [ ! -d "/var/www/$1/" ]; then
cd /var/www/
git clone ${2} ${1}
exit
fi
cd /var/www/$1/
git fetch ${2}
git -c advice.detachedHead=false checkout ${3}<commit_msg>Update origin URL before fetching<commit_after>#!/bin/bash

if [ ! -d "/var/www/$1/" ]; then
cd /var/www/
git clone ${2} ${1}
exit
fi
cd /var/www/$1/
git remote set-url origin ${2}
git fetch
git -c advice.detachedHead=false checkout ${3}
{'fraction_non_alphanumeric': 0.1985981308411215, 'fraction_numerical': 0.028037383177570093, 'mean_word_length': 3.5638297872340425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '5779825', 'n_tokens_mistral': 177, 'n_tokens_neox': 169, 'n_words': 53}