Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jormaechea/git-web

Repository files navigation

Git web

npm version Build status

Interact with your git provider from your command line.

πŸ’» Usage

First install it globally:

npm install --global git-web

Then you will be able to run your brand new git commands:

git web # Open the repository home
git 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.

❓ Why?

This is a CLI utility inspired by git-open, but implemented in node. Why? Because I think it has a wider community that can use and contribute to the project.

β˜‘οΈ 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 βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Open commits list βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Open an specific commit βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Open pipeline executions list NP βœ”οΈ βœ”οΈ βœ”οΈ
Open an specific pipeline execution NP βœ”οΈ βœ”οΈ βœ”οΈ
Open pull requests list βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Open an specific pull request βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Open PR creation screen βœ”οΈ βœ”οΈ βœ”οΈ βœ”οΈ
Fork a repository NP βœ”οΈ βœ”οΈ βœ”οΈ
Open issues list NP βœ”οΈ βœ”οΈ βœ”οΈ
Open an specific issue NP βœ”οΈ βœ”οΈ βœ”οΈ
Create a new issue NP βœ”οΈ βœ”οΈ βœ”οΈ

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 βœ”οΈ βœ”οΈ
Open an specific pipeline execution βœ”οΈ βœ”οΈ

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 the repo and share it with your colleagues.

And always remember to be nice to each other!

License

MIT

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /