Last Updated: November 22, 2018
·
282
· ashishbhatia

Github: Open a file on github.com from command-line

https://github.com/ashishb/dotfiles/blob/master/bashrc_includes/custom_aliases.bash#L20-L39

usage: ghurl <filename>

The command finds out the right branch (fallback: master) as well as the right repository name. It assumes that the repository is on GitHub