<commit_before># git-gb

`git-gb` is a better way to list git branches in your terminal. Inspired by the GitHub branches view, the output

- is sorted by timestamp of the last commit for each branch
- shows how many commits a branch is ahead/behind of master
- whether a branch is merged or not

Sample output:

```
~/c/gb:master$ gb
2014-11-22 20:54PM | foobar                   | behind:   15 | ahead:    2
2014-11-24 21:18PM | readme                   | behind:    0 | ahead:    1
```

## Usage

See `git gb -help` for available options.


## Installation

### Mac

*Install dependencies:*

```
brew install go libgit2
```

*Configure dependencies:*

Make sure that `$GOPATH` is set. For more details see: `go help gopath`.

Also make sure that `$GOPATH/bin` is in your `$PATH`

*Install git-gb:*

```
go get github.com/vroy/git-gb
```

*Add a git alias:*

```
git config --global alias.b gb
```
<commit_msg>Remove alias because of conflict with actual branch options.<commit_after># git-gb

`git-gb` is a better way to list git branches in your terminal. Inspired by the GitHub branches view, the output

- is sorted by timestamp of the last commit for each branch
- shows how many commits a branch is ahead/behind of master
- whether a branch is merged or not

Sample output:

```
~/c/gb:master$ gb
2014-11-22 20:54PM | foobar                   | behind:   15 | ahead:    2
2014-11-24 21:18PM | readme                   | behind:    0 | ahead:    1
```

## Usage

See `git gb -help` for available options.


## Installation

### Mac

*Install dependencies:*

```
brew install go libgit2
```

*Configure dependencies:*

Make sure that `$GOPATH` is set. For more details see: `go help gopath`.

Also make sure that `$GOPATH/bin` is in your `$PATH`

*Install git-gb:*

```
go get github.com/vroy/git-gb
```

{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.03316749585406302, 'mean_word_length': 2.9347826086956523, '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': '32166', 'n_tokens_mistral': 644, 'n_tokens_neox': 573, 'n_words': 243}