A set of handy tools for using Sublime Text with GitHub.
Open any directory of your Git working copy in Sublime Text. From the command palette you now have access to, for instance:
GitHub: Open Fileto open currently edited file on GitHub.GitHub: Blameto open blame for currently edited file on GitHub.GitHub: Historyto open commit history for currently edited file on GitHub.GitHub: Copy Link To Fileto save a GitHub link to a selected code fragment in the system clipboard.GitHub: Repositoryto open repository page on GitHub.GitHub: Issuesto open repository issues page on GitHub.GitHub: Pull Requeststo open repository pull requests page on GitHub.
Some commands also allow you to link to the selected lines.
- debug_mode: enable debug mode (default: false)
- github_hostnames: add altenative github host names (default: github.com)
To disable the context menu:
- create a new file called
Context.sublime-menuinPackages/GitHubTools/(go there via "Browse Packages" in the settings menu) - add
[]as the content of this new file - this effectively replaces the context menu items for this package with "nothing"
This package originally by @temochka at @temochka/sublime-text-2-github-tools.