Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waterlemons2k/gh-watch-commits
GitHub CLI extension to watching commits in a repository.
https://github.com/waterlemons2k/gh-watch-commits
cli gh-extension github go golang pull-requests
Last synced: about 1 month ago
JSON representation
GitHub CLI extension to watching commits in a repository.
- Host: GitHub
- URL: https://github.com/waterlemons2k/gh-watch-commits
- Owner: WaterLemons2k
- License: mit
- Created: 2023-07-19T02:40:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-15T23:21:18.000Z (3 months ago)
- Last Synced: 2024-11-13T13:54:39.271Z (about 2 months ago)
- Topics: cli, gh-extension, github, go, golang, pull-requests
- Language: Go
- Homepage: https://pkg.go.dev/github.com/WaterLemons2k/gh-watch-commits
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# watch-commits
✨ A GitHub (`gh`) CLI extension to watching commits in a repository.
English | [简体中文](README.zh-CN.md)
## Motivation
GitHub has been missing a way to watching commits in a repository, but https://stackoverflow.com/a/42600376 offers another solution: via pull request.
This extension is also the CLI version of this solution.
## Installation
```sh
gh extension install WaterLemons2k/gh-watch-commits
```## Usage
Run:
```sh
gh watch-commits -R
```Replace `` with the repository to which you want to watching commits.
If you have successfully created a pull request, please note the following:
- do **NOT** merge this pull request
- if you merged it, don't worry, just run this command again to open another pull request.
- under the Email section of your [Notifications](https://github.com/settings/notifications) settings enable:
- Comments on Issues and Pull Requests
- Pull Request reviews
- Pull Request pushesThat's it. You will receive email notifications about every commit on default branch.
Run `gh watch-commits -h` for more help:
```
Usage:
gh watch-commits [-R ] [flags]
Flags:
-R string
repository using the OWNER/REPO format
-b string
Body for the pull request
-d Mark pull request as a Draft
-default-branch-only
Only include the default branch in the fork
-fork-name string
Rename the forked repository
-org string
Create the fork in an organization
-t string
Title for the pull request
```