aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 8a13e37170434a61ed2d2388a2f920c466edf7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: org; -*-
#+STARTUP: showall

In order to use git-auto-commit-mode you need to make sure that it
can be found in your =load-path=. You can do this either by installing
it through ELPA or you can do it manually.

* ELPA

  git-auto-commit-mode can be found in both [[http://marmalade-repo.org/][Marmalade]] and [[http://melpa.milkbox.net/][MELPA]], so
  if you have either of those set-up installing should be as easy as:
  #+BEGIN_EXAMPLE
    M-x package-install <RET> git-auto-commit-mode <RET>
  #+END_EXAMPLE

  And you're done.

* Manual

  To install git-auto-commit-mode manually you should download the
  sources from one of the several places it can be found, after which
  you should extract the archive and add the resulting directory to
  you load path:
  #+BEGIN_EXAMPLE
    (add-to-list 'load-path "/path/to/git-auto-commit-mode")
  #+END_EXAMPLE

  Once it can be found in your =load-path= you can =load=, =require= or
  =autoload= it, whichever you like:
  #+BEGIN_EXAMPLE
    (require 'git-auto-commit-mode)

    ;; Or...

    (autoload 'git-auto-commit-mode "git-auto-commit-mode")
  #+END_EXAMPLE