The plugin simplifies an access to recent branches:
Pre-requirement for this is golang >= 1.17
Also, please ensure you have a custom folder in your home directory
where you can put the executable. In the example below it's bin
:
mkdir -p ~/bin
echo 'export PATH=$PATH:~/bin' >> ~/.bashrc # or .zshrc
Feel free to skip this step if you already have such a folder.
fish_add_path ~/bin
git clone https://github.com/goodniceweb/git-last-branch.git
cd git-last-branch
make && make install
rm ~/bin/git-last-branch
Also, please don't forget to edit your ~/.gitconfig
file and
remove the lbr
alias.