Giter Site home page Giter Site logo

bpugh / gitcommitmsg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cbumgard/gitcommitmsg

0.0 3.0 0.0 120 KB

Sublime Text plugin "git_commit_msg plugin": shows the git commit history for one or more lines of code.

License: MIT License

Python 100.00%

gitcommitmsg's Introduction

Sublime Text plugin: GitCommitMsg

Shows the git commit history for one or more lines of code. Essentially it performs a git blame on the selected line(s) of code, and then performs a git show on the resulting commit(s).

Inspired by "Every line of code is always documented"

Usage

  • Supports Sublime Text 2 & Sublime Text 3
  • Mac: Default keybinding is Command+Shift+m
  • Linux/Windows: Default keybinding is Alt+Shift+m
  • Assumes git is installed and in the $PATH

Example

Screenshot

Install from Package Control

The easiest way to install this is with Package Control.

  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select "Package Control: Install Package"
  • Select GitCommitMsg when the list appears.

Manual Install

Use this if for some reason you cannot use Package Control steps above and/or the plugin does not appear yet in Package Control. Thanks to https://github.com/kemayo/sublime-text-git/wiki for documenting these steps originally.

First, you need to have git installed and in your $PATH. Afterwards you may need to restart Sublime Text 2 before the plugin will work.

OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/cbumgard/GitCommitMsg.git GitCommitMsg

Linux (Ubuntu like distros)

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/cbumgard/GitCommitMsg.git GitCommitMsg

Windows 7:

Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"

Windows XP:

Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"

gitcommitmsg's People

Contributors

cbumgard avatar jobedom avatar ventero avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.