bturrubiates / git-etch-branch

Tool to store descriptions for git branches in the local git config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-etch-branch

Tool that I use to store descriptions of branches. Sometimes, if you're working on a lot of branches at a given time and tend to forget about them, it's useful to be able to store a description for each branch. A description that's longer than the branch name.

Installing

This is a single Python script. Throw it somewhere on $PATH.

Usage

  • Etch a description into a branch:

    git etch-branch etch <branch> <description>

    I like to Git alias this to git ebe <branch> <description>

  • Describe branches:

    git etch-branch describe

    I like to Git alias this to git ebd

  • Clear branch description:

    git etch-branch clear <branch>

    I like to Git alias this to git ebc <branch>

Completions

A completion script is available in shell/completion that can be used with zsh to provide autocompletion.

Download the shell/completion/git-etch-branch.zsh script and source it in your ~/.zshrc.

About

Tool to store descriptions for git branches in the local git config


Languages

Language:Python 84.1%Language:Shell 15.9%