Last active
April 23, 2020 03:42
-
-
Save sugamasao/798be7f6683b9365d45222d38340e6ea to your computer and use it in GitHub Desktop.
git browse foo/bar.txt 10 でGitHubのリポジトリ開くくん
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
browse = !"f() { open $(git remote get-url origin)/tree/$(git rev-parse HEAD)/${1}#L${2}; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment