
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
git-public-url
Advanced tools
Obtain the public URL to a commit or file of a local repo, to open or share quickly pushed code in a browser.
npm install -g git-public-url
git-public-url
uses the git repository in the current directory.
$ cd git-public-url/
$ git config --get remote.origin.url
git@github.com:dgoguerra/git-public-url.git
# by default, generates the url to the current commit
$ git-public-url
https://github.com/dgoguerra/git-public-url/commit/bc069fee1d0d8f58eb3f54f5771f98399dd2ca19
# another commit ref can be provided
$ git-public-url v1.0.0
https://github.com/dgoguerra/git-public-url/commit/40f327b9e81b8a0fefa7772a2c9ea7cf7645fffc
# url to a file on the given commit
$ git-public-url c177a45 -- package.json
https://github.com/dgoguerra/git-public-url/blob/c177a45cad0e5692c2c5d9ea400a636b7692821c/package.json
# open the url in a browser instead of printing it
$ git-public-url --open
MIT license - http://www.opensource.org/licenses/mit-license.php
FAQs
Obtain the public URL to a commit or file of a local repo
We found that git-public-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.