https://github.com/jormaechea/git-web
Interact with your git provider from your command line.
https://github.com/jormaechea/git-web
bitbucket browse cli cli-utility codecommit git git-web github gitlab node terminal web
Last synced: 23 days ago
JSON representation
Interact with your git provider from your command line.
- Host: GitHub
- URL: https://github.com/jormaechea/git-web
- Owner: jormaechea
- License: mit
- Created: 2020-08-29T17:02:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T17:17:54.000Z (over 2 years ago)
- Last Synced: 2024-03-29T20:01:10.768Z (about 1 year ago)
- Topics: bitbucket, browse, cli, cli-utility, codecommit, git, git-web, github, gitlab, node, terminal, web
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/git-web
- Size: 793 MB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Git web
Interact with your git provider from your command line.## :computer: Usage
First install it globally:
```sh
npm install --global git-web
```Then you will be able to run your brand new git commands:
```sh
git web # Open the repository homegit web -c # Open the list of commits
git web -c COMMITHASH # Open an specific commit
git ci # Open your CI/CD provider
git ci -e ID # Open a CI/CD execution details
git prs # Open PRs list
git pr # Create a new PR from current branch to master
git pr -s feature/1-my-feature -d develop # Create a PR from a feature branch to develop branch
git issues # Open issues list
git issue # Create a new issue
```For more information, use `git help [command]` or `git [command] --help`. For example: `git help web`.
## :question: Why?
This is a CLI utility inspired by [git-open](https://github.com/paulirish/git-open), but implemented in node. Why? Because I think it has a wider community that can use and contribute to the project.
## :ballot_box_with_check: Features
Open your git web interface right from your terminal! Both git and CI/CD will be autodetected using your git remote(s) and your repository config files.
The following features are available for git providers:
| | AWS Codecommit | Bitbucket | Github | Gitlab |
|--------|:--------------:|:---------:|:------:|:------:|
| Open repository home | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open commits list | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open an specific commit | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open pipeline executions list | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open an specific pipeline execution | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open pull requests list | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open an specific pull request | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open PR creation screen | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Fork a repository | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open issues list | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Open an specific issue | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Create a new issue | NP | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |> NP: Not provided. Feature is not available in the provider.
And the following CI/CD providers are supported and autodetected:
| | CircleCI | Travis |
|--------|:--------:|:------:|
| Open pipeline executions list | :heavy_check_mark: | :heavy_check_mark: |
| Open an specific pipeline execution | :heavy_check_mark: | :heavy_check_mark: |## Contributing
All contributions are welcome. There are a couple of ways to do so:
- Report an issue with a bug, feature or enhancement
- Submit a PR that solves an issue
- Or just :star: star the repo and share it with your colleagues.And always remember to be nice to each other!
## License
MIT