<commit_before># git-folder-branches

Allows you to:
* 'Bookmark' a repo
* 'Bookmark' folders containing several repos
* Automatically fetch your bookmarked repos periodicially
* Show a summary view of:
  * Your repo's branches
  * Your repo's working copy changes
  * If a branch is behind/ahead of its upstream
* Quickly `git pull` your repos
* Quickly `cd` into your repos
* Quickly open you repos in the great SourceTree GUI ([https://www.sourcetreeapp.com/](https://www.sourcetreeapp.com/))

Be aware that in order for quick access it takes over a few short commands:
* `g`
* `ga`
* `gc` (after `.bash_profile` update)
* `gp`
* `gs`
* `gfbcd`
* `gfbd`

# Installation

`npm install git-folder-branches -g`

Then, put ```function gc() { cd `gfbcd "$@"` ;}``` at the bottom of your `~/.bash_profile` to enable the quick `cd` functionality. Without this `gc` won't work. You'll probably need to restart your shell session for it to take effect.

# Compatability

Tested on OS X. Might just work on Linux. Some tweaks probably needed for Windows.

# Usage

[https://raw.githubusercontent.com/ajones513/git-folder-branches/master/docs/usage.gif](https://raw.githubusercontent.com/ajones513/git-folder-branches/master/docs/usage.gif)

![](https://github.com/ajones513/git-folder-branches/blob/master/docs/usage.gif)

## Other Features

`g -x "some regular expression" ...` - exclude branches that have a name that matches one of the regexes provided. Run without providing any regular expressions to clear. The regular expressions are passed into `new RegExp()`, so escape appropriately.<commit_msg>Spelling<commit_after># git-folder-branches

Allows you to:
* 'Bookmark' a repo
* 'Bookmark' folders containing several repos
* Automatically fetch your bookmarked repos periodicially
* Show a summary view of:
  * Your repo's branches
  * Your repo's working copy changes
  * If a branch is behind/ahead of its upstream
* Quickly `git pull` your repos
* Quickly `cd` into your repos
* Quickly open you repos in the great SourceTree GUI ([https://www.sourcetreeapp.com/](https://www.sourcetreeapp.com/))

Be aware that in order for quick access it takes over a few short commands:
* `g`
* `ga`
* `gc` (after `.bash_profile` update)
* `gp`
* `gs`
* `gfbcd`
* `gfbd`

# Installation

`npm install git-folder-branches -g`

Then, put ```function gc() { cd `gfbcd "$@"` ;}``` at the bottom of your `~/.bash_profile` to enable the quick `cd` functionality. Without this `gc` won't work. You'll probably need to restart your shell session for it to take effect.

# Compatibility

Tested on OS X. Might just work on Linux. Some tweaks probably needed for Windows.

# Usage

[https://raw.githubusercontent.com/ajones513/git-folder-branches/master/docs/usage.gif](https://raw.githubusercontent.com/ajones513/git-folder-branches/master/docs/usage.gif)

![](https://github.com/ajones513/git-folder-branches/blob/master/docs/usage.gif)

## Other Features

`g -x "some regular expression" ...` - exclude branches that have a name that matches one of the regexes provided. Run without providing any regular expressions to clear. The regular expressions are passed into `new RegExp()`, so escape appropriately.
{'fraction_non_alphanumeric': 0.11532434973362582, 'fraction_numerical': 0.005640864932623002, 'mean_word_length': 4.382799325463743, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, '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': '2290681', 'n_tokens_mistral': 1029, 'n_tokens_neox': 970, 'n_words': 367}