<commit_before>#!/usr/bin/env bash

description=$1

git add .
git status

echo "Commit description: '$description'"

echo "Is the commit description correct? [y/n]:"
read prompt

if [[ ("$prompt" == "Y") || ("$prompt" == "y") ]];
then
  git commit -m "$description"
  git push origin master
else
  echo "Run the command again with the correct commit description."
fi<commit_msg>Read option in the same line in commit generator.<commit_after>#!/usr/bin/env bash

description=$1

git add .
git status

echo "Commit description: '$description'"

read -p "Is the commit description correct? [y/n]: " prompt

if [[ ("$prompt" == "Y") || ("$prompt" == "y") ]];
then
  git commit -m "$description"
  git push origin master
else
  echo "Run the command again with the correct commit description."
fi
{'fraction_non_alphanumeric': 0.14412136536030343, 'fraction_numerical': 0.0025284450063211127, 'mean_word_length': 4.28, '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': '3694565', 'n_tokens_mistral': 249, 'n_tokens_neox': 242, 'n_words': 99}