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

Git

by kemayo ALL Top 25

Plugin for some git integration into sublime text

Labels git, vcs

Details

Installs

  • Total 1.12M
  • Win 512K
  • Mac 345K
  • Linux 263K
Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 26 95 86 54 58 78 87 77 94 86 52 60 79 117 99 88 88 59 64 76 121 104 114 99 55 62 95 110 88 111 111 70 65 81 103 96 100 78 63 85 103 102 107 132 104 66
Mac 12 43 37 18 25 37 47 43 44 38 25 24 37 46 53 50 49 12 14 38 37 48 46 48 26 15 34 46 48 36 55 32 22 46 54 57 56 41 26 40 52 52 54 59 64 29
Linux 15 43 36 24 25 28 38 40 42 35 29 24 30 36 37 38 34 14 22 29 39 32 32 27 17 27 35 26 43 29 39 28 28 32 29 43 32 40 19 25 38 35 30 56 45 26

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: