<commit_before>git-gsub
========

Evaluate ruby gsub script on git.

### Usage.
```sh
git gsub hoge piyo
git gsub '/hoge([0-9]+)/' 'piyo\#{$1.to_i + 1}'
git gsub '"piyo\#{4 + 1}"' 'piyo\#{$1.to_i + 1}'
```

### Getting started.

``` sh
wget https://github.com/katsusuke/git-gsub/raw/master/git-gsub.rb
sudo mv git-gsub.rb /usr/local/bin
```

Edit your .gitconfig file
```
[alias]
  # add new line
	gsub = !/usr/local/bin/git-gsub.rb
```
<commit_msg>fix readme<commit_after>git-gsub
========

Evaluate ruby gsub script on git.

### Usage.
```sh
git gsub hoge piyo
git gsub '/hoge([0-9]+)/' 'piyo\#{$1.to_i + 1}'
git gsub '"piyo\#{4 + 1}"' 'piyo\#{$1.to_i + 1}'
```

### Getting started.

``` sh
curl https://raw.githubusercontent.com/katsusuke/git-gsub-ruby/master/git-gsub.rb > /usr/local/chmod +x /usr/local/bin/git-gsu
```

Edit your .gitconfig file
```
[alias]
  # add new line
	gsub = !/usr/local/bin/git-gsub
```
{'fraction_non_alphanumeric': 0.23446019629225737, 'fraction_numerical': 0.017448200654307525, 'mean_word_length': 3.5445544554455446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '5668095', 'n_tokens_mistral': 431, 'n_tokens_neox': 397, 'n_words': 86}