sindresorhus/refined-github



The issue has been closed
Copy PR as a dependency git URL #2552
dominykas posted onGitHub
At the moment, GitHub already provides a copy button to copy the branch name of the PR.
It would be awesome, if there was also a button to copy the full git URL for that branch, so that it can be used in package.json
, e.g. for the new-feature
branch in this repo, it would copy git+https://github.com/sindresorhus/refined-github.git#new-feature
into clipboard.
npm does support GitHub shorthands (e.g. sindresorhus/refined-github#new-feature
), but that's not very useful for those on GitHub Enterprise.