Compare against master branch with fzf
Have a quick glance at the differences between develop
and master
branch with git stack
.
Clone the repo, and run npm run transfer
to transfer ./git-stack
to ~/bin
, or manually invoke ./script/transfer.sh
if you are not familiar with npm
.
If you have a more desired PATH
for storing scripts, configure ./script/transfer.sh
directly or ignore the transfer instructions.
Make sure fzf
is installed globally. git stack
won't work if fzf
is not installed.
git-stack [<options>]
Compare against master branch with fzf
where:
-h show this help text
-f fuzzy select a branch to compare with
A simple one-liner is all you need.
$ git stack
git stack
compares the current branch against master
. git stack -f
, however, will ask for input from a fuzzy list of all available branches, to be compared against master
.
2018-Nov-11: v1
published. Automate commit and file transfer process with commitizen
and ghooks
.
2018-Nov-13: -f
created for fuzzy selecting branch to compare with master
.
See Dotfiles for my other works on git
.
See git-overview - A quick git repository insight at terminal.
See git-commands - Fuzzy search git commands with fzf.