<commit_before>Do you ever want to `pub build` into another branch? This is your ticket.

### Install

```
> pub global activate peanut
```

### Run

```
~/my_dart_proj/ > peanut
```

### Git tricks

To create (or update) your local `gh-pages` branch to match what's on the server.

```
> git update-ref refs/heads/gh-pages origin/gh-pages
```

This is also useful if you want to undo a `peanut` run.

### Options

```
> peanut --help
```


```
-d, --directory    (defaults to "web")
-b, --branch       (defaults to "gh-pages")
-m, --message      (defaults to "Built <directory>")
-h, --help
```<commit_msg>Make README easier to follow<commit_after>Do you ever want to `pub build` into another branch? This is your ticket.

### Install

```
$ pub global activate peanut
```

### Run

```
$ cd ~/my_dart_proj/
$ peanut
```

This will build your project into a temporary directory, and then it will update the local `gh-pages` branch with its contents.

### Git tricks

The easiest way to push your `gh-pages` branch to github (without switching from your working branch) is:

```
$ git push origin --set-upstream gh-pages
```

To create (or update) your local `gh-pages` branch to match what's on the server.

```
$ git update-ref refs/heads/gh-pages origin/gh-pages
```

This is also useful if you want to undo a `peanut` run.

### Options

```
$ peanut --help
```


```
-d, --directory    (defaults to "web")
-b, --branch       (defaults to "gh-pages")
-m, --message      (defaults to "Built <directory>")
-h, --help
```
{'fraction_non_alphanumeric': 0.1531886916502301, 'fraction_numerical': 0.0, 'mean_word_length': 3.311614730878187, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5054280', 'n_tokens_mistral': 530, 'n_tokens_neox': 484, 'n_words': 198}