aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/magit-init.org
blob: a759c5d0d2689f5ac3678b5cc478f000a7e1e22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#+TITLE: Magit

#+BEGIN_SRC emacs-lisp
  (require 'magit)
#+END_SRC

Magit is a very nice interface to Git for Emacs. It allows you to do
just about anything with Git without leaving the comfort of your Emacs
session.

Show refined diffs in magit. This makes it much easier to see /what/
has changed on a line.

#+BEGIN_SRC emacs-lisp
  (setq magit-diff-refine-hunk 'all)
#+END_SRC