Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@othree

This comment has been minimized.

Copy link
Owner Author

@othree othree commented Mar 12, 2014

Usage

git link to show git hub link for single commit

git link
git link HEAD
git link HEAD^
git link 70bfacf861f3ac09fe77165f91df9e471776ddde

On OSX, you can pipe to pbcopy(system clipboard)

git link | pbcopy

or (thanks @timdream)

open `git link`

Link is trustable only when commit were pushed.

Known issue

Remote 'origin' might not github.

License

MIT

@timdream

This comment has been minimized.

Copy link

@timdream timdream commented Mar 12, 2014

and

open `git link`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.