<commit_before>#!/bin/bash
#
# This will setup a gitconfig file if one does not exist

set -e

if [[ -s "${HOME}/.gitconfig" ]]; then
  read -n1 -p "${HOME}/.gitconfig already exists would you like to overwrite it? " answer
  echo
  if [[ "$answer" != "y" && "$answer" != "Y" ]]; then
    echo "Skipping git-config.sh"
    exit 0
  fi
fi<commit_msg>Remove old git config when overwriting<commit_after>#!/bin/bash
#
# This will setup a gitconfig file if one does not exist

set -e

if [[ -s "${HOME}/.gitconfig" ]]; then
  read -n1 -p "${HOME}/.gitconfig already exists would you like to overwrite it? " answer
  echo
  if [[ "$answer" != "y" && "$answer" != "Y" ]]; then
    echo "Skipping git-config.sh"
    exit 0
  fi
  rm -f "${HOME}/.gitconfig"
fi
{'fraction_non_alphanumeric': 0.16489361702127658, 'fraction_numerical': 0.005319148936170213, 'mean_word_length': 3.1373626373626373, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3552324', 'n_tokens_mistral': 269, 'n_tokens_neox': 262, 'n_words': 97}