If you are also in the following situations, probably you also need git-fancy-branch
:
- Prefer GIT command line rather than any GUI tools.
- Always create new branches, and forget to delete them after branch merged.
- Always working and switching across different branches, and something forget the branch name recently worked with.
- Alway doing
git checkout
, andTAB
for the target branches.
- List all branches which sorted by commit time.
- Using
fzf
to do fuzzy find across branches. - Support multiple branches delete.
You can simply copy the script code to your executable directory, or you can use the following command to do this:
sudo wget https://raw.githubusercontent.com/Gcaufy/git-fancy-branch/main/git-br -O /usr/local/bin/git-br && sudo chmod +x /usr/local/bin/git-br
You also can use npm
to install it:
npm install git-fancy-branch -g
MIT