ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Git

by kemayo ST2/ST3 Top 25

Plugin for some git integration into sublime text

Labels git, vcs

Details

Installs

  • Total 968K
  • Win 428K
  • OS X 309K
  • Linux 231K
May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
Windows 44 109 163 159 182 166 169 112 122 153 161 181 156 183 100 124 154 169 173 209 175 119 115 149 173 140 172 128 107 121 152 184 190 182 165 107 124 142 161 199 177 187 99 120 197 207
OS X 12 38 65 83 99 78 80 31 35 56 68 69 67 90 48 41 70 80 85 84 90 45 34 83 73 55 68 75 51 34 74 67 64 100 81 35 56 61 69 90 95 164 55 39 64 86
Linux 10 43 62 76 74 65 92 47 50 71 83 83 86 73 62 48 81 90 75 69 75 38 39 65 71 62 70 75 46 42 68 74 78 101 76 40 56 72 65 94 100 126 50 53 83 75

Readme

Source
raw.​githubusercontent.​com

Build Status

Sublime Text plugin: git

Git integration: it's pretty handy. Who knew, right?

For more information about what's supported, and how to install this, check the wiki.

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 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 Git when the list appears.

Package Control will automatically keep Git up to date with the latest version.

Basic Usage

  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Start typing “Git” and select one of the recommended commands.

The rest

If you don't want to use Package Control, check the wiki for other installation methods on various platforms.

Troubleshooting

This package works by running commands as your system git. As such, if you have problems with this package, first make sure that git is installed and configured correctly on your system.

You may want to make sure that the git binary this plugin is using is the correct one, if you have multiple ones installed. Most git installation guides will be happy to walk you through configuring your system $PATH appropriately.

If necessary, set the git_command plugin preference to tell us where to look.

fatal: unable to auto-detect email address

Git isn't configured properly. Tell it who you are, by opening a command prompt and doing this:

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

If you've done this and it's still complaining, you probably have multiple copies of git on your system which have different configuration locations, and the one which runs on your command line isn't the one which the shell $PATH exposes to Sublime Text.

fatal: could not read Username for 'https://github.com': Device not configured

Git isn't configured to use a system-level ssh-agent, and so it's asking you for a username and password when you try to push / pull. The plugin doesn't know how to ask you for this information.

Set up a ssh-agent and this will stop happening.

Acknowledgements

This package contains: