Comments (8)
Does anyone still need this feature?
from git-open.
Good idea!
But somebody has to do it 😉
from git-open.
It should be able to auto-detect (see if the commit exists) maybe? Instead of having a flag for it
from git-open.
Feature request: git open
opens the latest pull request opened for the current branch.
from git-open.
@ILI4S it was attempted here #53 but currently resolving the pull request URL is nontrivial, so we prefer one of two options:
-
load the branch page (which has a link to the PR in the ui):
-
use issue branch naming and use the
--issue
flag, as documented in the readme.
from git-open.
Pull request #144 added this option:
-c, --commit open current commit
As documented it is only for the current commit; trying to open a commit with an explicit value results in an error:
git-open --commit=8bb53b52560ea
error: option `commit' takes no value
And git-open -c 8bb53b52560ea
results in a nonsense URL like https://8bb53b52560ea/8bb53b52560ea/commit/56ddf13245a99490b5c079cdc4ab66b77809dae4
We may have to change the way the current commit works, or even with the flag do what derimagia said and check values so that existing commits aren't misinterpreted.
from git-open.
PR #155 allows me to pass a specific commit hash
from git-open.
done in #skypesky/to-where-cli#45
npm cli: npmjs.com/package/to-where-cli
from git-open.
Related Issues (20)
- git open merge request HOT 1
- Exit code 127 and some advice
- npm seems to install an older version of git-open
- Customization option of url needed.
- gitlab: fails to open issues whose title contains numbers
- How to open url not with https ?
- Error: unknown style `zdiff3` given for `merge.conflictstyle`
- git-open not open SSH repository url HOT 4
- Changelog for 3.0.0 HOT 1
- Installation error: git: 'git-open' is not a git command. See 'git --help'. HOT 1
- How does it work? HOT 2
- [ Bitbucket ] Default open url for bitbucket repositories
- [Feature Request] Open a specific file HOT 1
- git-open not open issue page HOT 3
- Pulls URL adding `tree/BRANCH` HOT 2
- Sending Message feature is not working in Whatstapp HOT 2
- powershell.exe -NoProfile Start in WSL2
- Feature: Add a possibility to specify a port
- Windows unclear
- increasing issue points.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-open.