When fixing an issue I want to make sure that I close the correct issue writing in the commit message: "Fixed #issueId"
.
To be faster I would like to list the repository issues in terminal. Is this possible with a git
command?
I imagine something like below:
$ git issues --all
+---------------------------------------+
| Repository Name - Issues |
+---------------------------------------+
| # | Title | Status |
+---------------------------------------+
| 1 | Lorem Ipsum 1 | OPEN |
| 2 | Lorem Ipsum 2 | WONTFIX |
| 3 | Lorem Ipsum 3 | RESOLVED|
| 4 | Lorem Ipsum 4 | INVLID |
+---------------------------------------+
Check out mine as well: https://npmjs.org/package/git-issues
npm install -g git-issues
It also works from a cloned location if you add the bin/git-issues
it to your PATH.
It supports both GitHub and BitBucket. It displays by default open
issues. For closed
issues run:
git issues -s closed
Feel free to fork my repo and send a pull request with more features.
No, not directly with the "vanilla" git command line.
There is a "command-line wrapper for git that makes you better at GitHub." (according to the site)
http://hub.github.com/
You can then run:
$ git browse -- issues
Which would return the current projects issues.
EDIT
In that case, this may be more helpful.
It's a cli to github
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With