git-open | Type `git open` to open the GitHub page or website for a repository in your browser | Browser Plugin library
kandi X-RAY | git-open Summary
kandi X-RAY | git-open Summary
Type `git open` to open the GitHub page or website for a repository in your browser.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of git-open
git-open Key Features
git-open Examples and Code Snippets
Community Discussions
Trending Discussions on git-open
QUESTION
let's say I committed on local repo and pushed.. I want to open the project on GitHub and show files changes compared with the master branch or any other branch by one command, or at least copy the link to that into the clipboard, check this: git open, yet it's not enough.
I was thinking if it's possible to create a script using git commands and some other terminal tricks, things like : git diff HEAD~ --name-only
git remote -v
| any code that append to remote url' ?
The required command is :
...ANSWER
Answered 2019-Jun-07 at 20:29Well, not to reinvent the wheel. I found that git-open handles quite a few stuff so I forked it and added the functionality you wanted. Here's my fork.
You can now say git open compareto
and it's gonna compare the current branch with the one you provided.
Or just git open compareto
without providing a branch. if you're on any branch and you want to compare to master.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-open
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page