<commit_before>function take() {
  mkdir -p $1
  cd $1
}

function share-with-kooky(){
    # function for sharing files with kooky
    chown -Rv reuben:users $@
    chmod -Rv g=u $@
}

function gcp(){
    # function for copying local git repos while preserving remotes
    LOCAL="$2"

    echo "WARNING: using --shared (don't rebase/delete the source repo!)"
    git clone --shared $@

    if [[ -z $LOCAL ]]; then
        LOCAL=$(basename "$1")
    fi

    if [ -f "$1/.git/config"  ]; then
        echo "Copying git config"
        cp "$1/.git/config" "$LOCAL/.git/config"
    elif [ -f "$1/config"  ]; then
        # assume bare repo with config file
        echo "Copying git config (bare)"<commit_msg>Renamed clone script to not conflict with 'git commit -p'<commit_after>function take() {
  mkdir -p $1
  cd $1
}

function share-with-kooky(){
    # function for sharing files with kooky
    chown -Rv reuben:users $@
    chmod -Rv g=u $@
}

function gclr(){
    # function for copying local git repos while preserving remotes
    LOCAL="$2"

    echo "WARNING: using --shared (don't rebase/delete the source repo!)"
    git clone --shared $@

    if [[ -z $LOCAL ]]; then
        LOCAL=$(basename "$1")
    fi

    if [ -f "$1/.git/config"  ]; then
        echo "Copying git config"
        cp "$1/.git/config" "$LOCAL/.git/config"
    elif [ -f "$1/config"  ]; then
        # assume bare repo with config file
        echo "Copying git config (bare)"
{'fraction_non_alphanumeric': 0.13658201784488674, 'fraction_numerical': 0.009608785175017159, 'mean_word_length': 2.382830626450116, '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': '5590088', 'n_tokens_mistral': 496, 'n_tokens_neox': 464, 'n_words': 164}