/git-checkout-history

Git script to checkout branch from history of previous checkedout branch

Primary LanguageShellMIT LicenseMIT

git-checkout-history

The script will make it easy to switch to branch that was checked-out previously

git-checkout-history gif

Requirements

  1. fzf - command line fuzzy finder

Installation

Download the script to an executable directory (eg: /usr/local/bin)

$ wget -P /usr/local/bin https://raw.githubusercontent.com/yulrizka/git-checkout-history/master/git-checkout-history
$ chmod +x /usr/local/bin/git-checkout-history

Note

Without Fzf installed, it will just print the history to std out.

MIT License

Copyright (c) 2021 Ahmy Yulrizka