<commit_before># Setup git for the first time

GIT_SETUP_FUNC() {
    echo "WARNING: not checking for existing SSH keys!"

    echo "What's your git name?"
    read GIT_SETUP_NAME
    git config --global user.name $GIT_SETUP_NAME
    echo "What's your git email?"
    read GIT_SETUP_EMAIL
    git config --global user.email $GIT_SETUP_EMAIL

    echo "Now configuring SSH keys..."
    ssh-keygen -t rsa -C $GIT_SETUP_EMAIL

    echo "Let's start the ssh-agent..."
    eval "$(ssh-agent -s)"

    echo "Adding SSH key..."
    ssh-add ~/.ssh/id_rsa

    echo "Now copying SSH key to clipboard..."
    pbcopy < ~/.ssh/id_rsa.pub
}

alias gitsetup=GIT_SETUP_FUNC
<commit_msg>things<commit_after># Setup git for the first time

GIT_SETUP_FUNC() {
    echo "WARNING: not checking for existing SSH keys!"

    # Use current branch only when doing git push
    git config --global push.default current

    echo "What's your git name?"
    read GIT_SETUP_NAME
    git config --global user.name $GIT_SETUP_NAME

    echo "What's your git email?"
    read GIT_SETUP_EMAIL
    git config --global user.email $GIT_SETUP_EMAIL

    echo "Now configuring SSH keys..."
    ssh-keygen -t rsa -C $GIT_SETUP_EMAIL

    echo "Let's start the ssh-agent..."
    eval "$(ssh-agent -s)"

    echo "Adding SSH key..."
    ssh-add ~/.ssh/id_rsa

    echo "Now copying SSH key to clipboard..."
    pbcopy < ~/.ssh/id_rsa.pub
}

alias gitsetup=GIT_SETUP_FUNC

{'fraction_non_alphanumeric': 0.10474860335195531, 'fraction_numerical': 0.0, 'mean_word_length': 2.75130890052356, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2591741', 'n_tokens_mistral': 531, 'n_tokens_neox': 489, 'n_words': 163}