Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

This comment has been minimized.

Copy link
Owner Author

@othree othree commented Mar 12, 2014


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.




This comment has been minimized.

Copy link

@timdream timdream commented Mar 12, 2014


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.