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

Git

by kemayo ST2/ST3 Missing Top 25

Plugin for some git integration into sublime text

Labels git, vcs

Details

Installs

  • Total 935K
  • Win 410K
  • OS X 301K
  • Linux 223K
Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3
Windows 125 193 201 223 70 0 3 208 213 231 210 99 148 171 214 183 79 95 101 134 156 178 173 149 176 98 114 187 208 234 199 234 118 145 194 219 232 214 217 119 140 204 254 211 233 242
OS X 62 99 120 207 51 0 8 115 116 124 219 59 56 93 106 98 38 37 58 45 69 69 65 49 81 35 63 93 93 114 114 92 48 51 91 104 111 115 94 57 68 103 115 126 134 118
Linux 64 105 114 146 34 0 2 101 113 101 156 46 51 108 82 78 47 51 38 48 76 65 82 60 59 48 66 75 103 103 89 97 63 58 85 81 98 113 89 72 69 80 98 110 109 77

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: