<commit_before>rd /S /Q vso-intelliJ-mirror
git clone --mirror %1 vso-intelliJ-mirror
cd vso-intelliJ-mirror
git remote set-url --push origin https://github.com/madhurig/vsotest1.git
git fetch -p origin
git push --mirror
<commit_msg>better script<commit_after>IF "%1" == "" (
 echo "Master repository URL is not provided"
 GOTO :END
)

IF "%2" == "" (
 echo "Mirror repository URL is not provided"
 GOTO :END
)

SET masterRepoUrl=%1
SET mirrorDirName="vso-intelliJ-mirror"
SET mirrorRepoUrl=%2

echo "Delete local mirror directory"
rd /S /Q %mirrorDirName%

echo "Clone master repository to local mirror directory"
git clone --mirror %masterRepoUrl% %mirrorDirName%

cd %mirrorDirName%

echo "Set remote push url to the remote mirror repository"
git remote set-url --push origin %mirrorRepoUrl%

echo "Fetch and Prune refs from master repository"
git fetch -p origin

echo "Push to the mirror repository"
git push --mirror

:END

{'fraction_non_alphanumeric': 0.10118406889128095, 'fraction_numerical': 0.006458557588805167, 'mean_word_length': 4.43859649122807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3476359', 'n_tokens_mistral': 313, 'n_tokens_neox': 312, 'n_words': 115}