Table of contents:
Clone the repo.
$ git clone git@github.com:MichaelCurrin/auto-tag.git
$ cd auto-tag
Make any changes, then run the script.
Test the changes on the repo itself.
$ cd auto-tag/autotag
$ ./autotag --help
Or on another repo.
$ cd ~/repos/my-project
$ ~/bin/autotag M --preview
Optionally add the script to a bin directory that is in your PATH
.
Example:
mkdir -p ~/bin
cd ~/bin
ln -s ~/repos/auto-tag/autotag
Now you can run anywhere.
$ cd ~/repos/my-project
$ autotag M --preview