git clone 'git://github.com/thisirs/vc-check-status.git'
This is an Emacs extension that warns you when you are about to quit Emacs and leaving a git repository that has some file opened in Emacs in a dirty state.
Oups! Looks like there is changes waiting to be committed!
Currently only git repositories are supported with the file
vc-git-check-status.el. Feel free to write corresponding file for
This package is available on MELPA, just type: M-x
vc-check-status. You then need to
enable it: M-x
You just have to put the files
vc-git-check-status.el in you load path, require the feature from
.emacs and activate it.
(require 'vc-check-status) (vc-check-status-activate 1)
By default, changes and unpushed commits are checked in all git
repositories. You can change this behavior by tweaking the variables
vc-check-alist controls things globally with a regex indicating
which repositories are checked and what is checked.
vc-check is a buffer-local variable that is likely to be set in a
.dir-locals.el file at the root of a repository. It is a list of
status to be checked.