<commit_before>function exportf () {
  export $(echo $1)="`whence -f $1 | sed -e "s/$1 //" `"
}

alias  gfa='git fetch --all'
alias gfap='git fetch --all --prune'
alias  gmn='git merge --no-ff'
alias grbm='git rebase master $(current_branch)'
alias gpc='git push origin $(current_branch)'
alias glu='git pull upstream $(current_branch)'
alias gtm='git tag -a -m  -f'

exportf current_branch
exportf git_prompt_short_sha
alias commit="$(git_prompt_short_sha)"
<commit_msg>Adding new function `git_clean_data $FILE_NAME` to remove sensitive data from repository<commit_after>function exportf () {
  export $(echo $1)="`whence -f $1 | sed -e "s/$1 //" `"
}

alias  gfa='git fetch --all'
alias gfap='git fetch --all --prune'
alias  gmn='git merge --no-ff'
alias grbm='git rebase master $(current_branch)'
alias gpc='git push origin $(current_branch)'
alias glu='git pull upstream $(current_branch)'
alias gtm='git tag -a -m  -f'

git_clean_data() {
  git filter-branch --force --index-filter \
  "git rm --cached --ignore-unmatch -r $1" \
  --prune-empty --tag-name-filter cat -- --all
}

exportf current_branch
exportf git_prompt_short_sha
exportf git_clean_data

alias commit="$(git_prompt_short_sha)"

{'fraction_non_alphanumeric': 0.1525, 'fraction_numerical': 0.005833333333333334, 'mean_word_length': 4.314159292035399, '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': '5655272', 'n_tokens_mistral': 431, 'n_tokens_neox': 419, 'n_words': 127}