Skip to content

Get Git URL is a Sublime-text plugin that generates Github remote repo URL.

Notifications You must be signed in to change notification settings

hxjuneja/GGU-SL

Repository files navigation

About

Get Git Url (GGU) is a Sublime-Text plugin that generate Github URL of the file you are on, from your editor and paste it to clipboard.

Usage

I want my editor to quickly generate the Github URL for me without jumping to the browser to yank the URL of file.

So I made this.

Install

Package Control

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text 2 before doing this next bit.
  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select "Package Control: Install Package" (it'll take a few seconds)
  • Select GGU when the list appears.

Other Methods

OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/kemayo/GGU-SL.git 

Linux

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-git.git Git

Get Started

  1. Configure GGU:

Before you can start you need to edit ggu.sublime-setting.py.

  1. Generate remote repo URL

  2. Go to the file in a git repo.

  3. press ctrl + alt + r

  4. Choose your remote repo.

  5. Boom! you are free to paste the URL.

remote

  1. Quickly Generate URL -

  2. Go to the file in a git repo.

  3. press ctrl + alt + g

  4. Boom! you are free to paste the URL.

Note - This automatically detect your current branch you are working on

  1. You are free to change the key bindings.

Thats It!! Enjoy.

About

Get Git URL is a Sublime-text plugin that generates Github remote repo URL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages