I often work on feature branches for a given Github Issue. I then like to add a comment to the issue to indicate on which branch I work, and to signal others in my team that I indeed work on that issue.
This is manual work, and so I created a little bash script which automates that. The heavy lifting
is done using ghi
.
This script uses ghi
to actually create comments on a issue.
Usage is simple:
$ fbranch <issue> <tagline>....
e.g.:
$ fbranch 9 Whizbang Frobnicate foo
This will create a feature branch named issue9-whizbang-frobnicate-foo
and adds a comment to issue
9 wording "Working on feature branch issue9-whizbang-frobnicate-foo
"