Skip to content

Sublime Text plugin to autosave git messages for commit, rebase, merge, etc when the message window is closed.

License

Notifications You must be signed in to change notification settings

franciscolourenco/sublime-git-message-auto-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Sublime Git Message Auto Save

Release version Stability: Stable Package Control License: MIT

Sublime Text 3 package to auto-save git messages for commit, rebase, merge, etc.. when the sublime window is closed. It allows you to close the git message window without having to deal with the "Save File" pop-up, or pressing ⌘S or ^S before closing the window.

The package is extremely small, and in only active on commit messages.

Usage

Use git to make a commit, write the commit message using Sublime Text, and close the window without saving. If you wish to abort the commit, delete the message before closing the window.

If you don't have Sublime Text configured as your default git editor, follow these instructions.

GitSavvy

If you also use GitSavvy and want to make the committing work flow homogeneous, enable the option "commit_on_close": true in GitSavvy. This allows you to use GitSavvy and git to commit from the command line, interchangeably without any difference.

Install

Please use Package Control to install. This will ensure that the package will be updated when new versions are available. If you want to install from source so you can modify the source code, you probably know what you are doing so we won’t cover that here.

To install via Package Control, do the following:

  1. Within Sublime Text, bring up the Command Palette and type install. Among the commands you should see Package Control: Install Package. If that command is not highlighted, use the keyboard or mouse to select it. There will be a pause of a few seconds while Package Control fetches the list of available plugins.

  2. When the package list appears, type git commit. Among the entries you should see Git Message Auto Save. If that entry is not highlighted, use the keyboard or mouse to select it.

About

Sublime Text plugin to autosave git messages for commit, rebase, merge, etc when the message window is closed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages