Beta: command names may change, but no commands should disappear
This package provides a quick way to get a link to any piece of code hosted in github or github enterprise.
apm install git-links
or
Ctrl(command)+,
(open settings)- Click install, and ensure that "packages" is selected
- Type
git-links
in the box and hit enter - Click install
Define your own keymap, or use Ctrl(command)+Shift+P (the command palette) to execute one of the commands
NOTE: These are subject to change at any time until this package reaches 1.0
Name | Description |
---|---|
git-links:copy-absolute-link-for-current-line |
Copies a link to your clipboard which represents the current line of code in Github |
git-links:copy-absolute-link-for-current-file |
Copies a link to your clipboard which represents the current file in Github |
git-links:copy-absolute-link-for-current-commit |
Copies a link to your clipboard which represents the current commit in Github |
- 0.1.0 Initial release, copy current line
- 0.2.0 Copy current file
- 0.3.0 Copy current commit
- 0.4.0 Add relative commands (links to branches, rather than commits)
- 0.5.0 Add indication that link was copied (completed ahead of schedule)
- 0.6.0 Add commands to insert links into current buffer instead of copying them
- 0.7.0 Add ability to point to a specific git instead of just using
git
and expecting the shell to figure it out - 1.0.0 Clean up all the above into a nice package
- 1.1.0 Add bitbucket support
- 1.2.0 Add gitlab support
Contributions are always welcome!
If you encounter a bug, please open an issue and write a bug report.
If you want to add a new feature or fix a bug, fork this repository and send a pull request.