It makes sense in case a long list of repositories should be unwatched at once while avoiding using the GitHub web interface.
- Requires a Go >= 1.5.1 development environment on the machine.
-
With
$GOPATH
defined in environment andgo
binary in$PATH
.$ go get github.com/asemt/ghuwtchr
-
-
Set your personal GitHub access token in environment:
$ export GHACCESSTOKEN=<your-access-token>
-
Run the unwatch utility:
$ $GOPATH/bin/ghuwtchr
-
Now past the GitHub repository links you want to unwatch from into the shell. The links should be formed like this:
https://github.com/<owner>/<repo-name>/subscription https://github.com/<owner>/<repo-name>
A single dot (.
) ends the input and starts the unwatching GitHub API calls.