<commit_before>git-branch-backup
#################

Creates a local backup of your branch. Useful to do
`before git-rebase`_ in case it goes wrong so you do not have to go reflog
diving.

.. _before git-rebase: http://www.headdesk.cz/computers/git/rebase.html

Assuming you are standing on ``master``::

  $ git branch-backup
  Created backup branch 'master.backup/1'

  $ git branch-backup
  Created backup branch 'master.backup/2'

et cetera.

When you are done, you can delete backups with::

  $ git branch -d master.backup/{1..666}

Alias for convenience::

  $ git config --global alias.bb branch-backup

Environment variables
=====================

BACKUP_BRANCH_FMT
  Format string used to construct backup branch name via ``man 3 printf``.
<commit_msg>readme: reword summary for more clarity<commit_after>git-branch-backup
#################

Create a local backup of your HEAD branch.

Useful to do `before git-rebase`_ in case it goes wrong so you do not have to go reflog diving.

.. _before git-rebase: http://www.headdesk.cz/computers/git/rebase.html

Assuming you are standing on ``master``::

  $ git branch-backup
  Created backup branch 'master.backup/1'

  $ git branch-backup
  Created backup branch 'master.backup/2'

et cetera.

When you are done, you can delete backups with::

  $ git branch -d master.backup/{1..666}

Alias for convenience::

  $ git config --global alias.bb branch-backup

Environment variables
=====================

BACKUP_BRANCH_FMT
  Format string used to construct backup branch name via ``man 3 printf``.

{'fraction_non_alphanumeric': 0.13329040566645203, 'fraction_numerical': 0.00901481004507405, 'mean_word_length': 3.980769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2032836', 'n_tokens_mistral': 482, 'n_tokens_neox': 461, 'n_words': 178}