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 919K
  • Win 402K
  • OS X 297K
  • Linux 220K
Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4
Windows 102 154 254 237 256 275 259 136 180 216 233 235 251 240 130 161 234 243 245 261 264 140 145 219 269 294 260 251 140 140 213 216 252 245 219 154 154 240 249 238 254 245 137 146 226 250
OS X 41 56 129 142 135 127 138 54 67 110 109 132 145 128 55 58 115 122 111 138 110 77 53 88 139 136 136 123 64 53 92 104 128 149 240 72 60 101 147 133 148 178 68 68 112 132
Linux 46 66 102 127 111 119 122 71 65 111 107 128 104 111 56 62 104 105 101 118 106 65 75 112 135 108 126 106 69 70 100 107 109 116 152 60 64 85 116 148 118 155 89 71 115 108

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: