Skip to content

textmate/git.tmbundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Git Textmate Bundle

Installation

You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.

  • Many shortcuts are available from the SCM shortcut ⌘Y Subversion commands are ⌘⌥G. Less frequent commands are accessed via the menu.

Support

The Mailing list has now been closed. Please feel free to report issues using the Issue tracker.

Theme notes:

The “Git Commit Message” Language defines two scopes that can be used by a theme to generate “line too long” warnings for the first line of the commit:

  • invalid.deprecated.line-too-long.git-commit
  • invalid.illegal.line-too-long.git-commit

The warning scope triggers when the first line exceeds 50 characters; the error scope over 65 characters. These aren’t generally-used TextMate scopes, so you can add new rules to your preferred themes, such as orange background/red background. You can also edit the regex to change the preferred character counts.

Development

Running Specs

The specs must be run with Ruby 1.8.7 (p358). Use your Ruby version manager of choice to install this version. Then, with this version activated (and Support/ as current directory), run gem install --file Gemfile to install the appropriate versions of RSpec and hpricot.

When running the specs from the command line you need to set TM_SUPPORT_PATH explicitly. The following should work:

export TM_SUPPORT_PATH=~/Library/Application\ Support/TextMate/Managed/Bundles/Bundle\ Support.tmbundle/Support/shared

To run the specs then use:

spec spec/

Who:

Previous Maintainers

Git-tmbundle superstars

The Git TextMate Bundle wouldn’t be possible without the contributions of the following fine gentlemen:

Major Contributions

  • Allan Odgaard – Started the bundle, got it rolling. Many patches. Oh, and TextMate :-).
  • Sam Granieri – GitK, Many of the git-svn commands, Git initialize repository command, menu layouting, create-tag.
  • Johan Sørensen – Contributing the CSS styling.

Please feel free to send a pull request if you’ve added any functionality to this bundle that you think the rest of the git-loving, TextMate-using world would appreciate!

Packages

No packages published

Languages

  • Ruby 83.0%
  • HTML 8.7%
  • CSS 6.9%
  • JavaScript 1.4%