Find a file
Marius Vollmer a284ac86ff Don't allow staging/unstaging in the wrong context.
* magit.el (*magit-item-context*): New.
(magit-item): Add context field from *magit-item-context* special
variable.
(magit-insert-section): Set *magit-item-context* to section id while
calling the washer.
(magit-must-be-unstaged, magit-must-be-staged): New:
(magit-stage-item, magit-unstage-item): Use them to fail early.
2008-08-30 23:18:27 +03:00
debian Use git format for Debian source package. 2008-08-22 00:59:58 +03:00
test New file FOO. 2008-08-11 22:21:45 +03:00
.gitignore Tweak gitignore to ignore elc and backup files 2008-08-19 18:31:40 +03:00
50magit.el Make build cruft work. 2008-08-13 06:47:09 +03:00
AUTHORS Faces. 2008-08-19 23:43:34 +03:00
autogen.sh Provide autogen.sh 2008-08-13 07:11:44 +03:00
ChangeLog Added autotools cruft. 2008-08-13 06:20:36 +03:00
configure.ac Prepare 0.6-1 2008-08-16 16:18:07 +03:00
COPYING Renamed to follow convention. 2008-08-06 02:46:58 +03:00
fdl.texi Added FDL text. 2008-08-12 04:51:45 +03:00
magit.el Don't allow staging/unstaging in the wrong context. 2008-08-30 23:18:27 +03:00
magit.texi Acknowledge Phil. 2008-08-24 21:15:35 +03:00
Makefile.am Make build cruft work. 2008-08-13 06:47:09 +03:00
NEWS Redone key bindings for pulling, leaving 'U' free for unstage-all. 2008-08-21 00:18:04 +03:00
README Doc updates. 2008-08-14 01:07:44 +03:00

It's magit!  A Emacs mode for Git.

I wrote magit while learning about git and trying to figure out how I
would be using git in a 'natural' way.  Magit will grow and hopefully
become more coherent as I learn more about git and good ways to use
it.  Feedback is welcome!

* Installing

Magit can be installed with the popular recipe of

   $ ./configure
   $ make install

This will put magit.el into /usr/local/share/emacs/site-lisp, where
Emacs should be able to find it.  Then add

      (require 'magit)

to your .emacs file.

* Getting started

To get started with magit, open any file in a git repository in Emacs
and run 'M-x magit-status'.  Read the online help of magit-mode ('C-h
m' in the magit buffer), make some changes to your files, and try to
commit them.

* Learning more

The Magit User Manual describes things with more words than the online
help.  You can read it in Emacs with 'C-u C-h i magit.info' for
example, or on the web at

    http://zagadka.vm.bytemark.co.uk/magit/magit.html

Magit's web home is currently at

    http://zagadka.vm.bytemark.co.uk/magit/