Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 369 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 369 Bytes

ghurl

Print a URL to a GitHub repository or source file.

usage

print url for current repository and branch

$ ghurl
https://github.com/attente/ghurl/tree/f590f24d888edcf4fee641799ffd2091c518dbbf

print url for file at line number

$ ghurl ghurl 17
https://github.com/attente/ghurl/blob/f590f24d888edcf4fee641799ffd2091c518dbbf/ghurl#L17