mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
SavchenkoValeriy/emacs-powerthesaurus@02c9d11a3f -> SavchenkoValeriy/emacs-powerthesaurus@810a25056c Silex/docker.el@8d64cf4f84 -> Silex/docker.el@fbd896e313 alphapapa/magit-todos@60152d5c4e -> alphapapa/magit-todos@67fd80c2f1 bdarcus/citar@79512aefdf -> bdarcus/citar@ee98b94f7f editorconfig/editorconfig-emacs@3c03cef311 -> editorconfig/editorconfig-emacs@1d4acc3ec7 emacsorphanage/quickrun@78317951cd -> emacsorphanage/quickrun@c680f5137c joaotavora/eglot@83a61f673a -> joaotavora/eglot@fd9a5646d1 magit/forge@5586863f98 -> magit/forge@eed613db88 magit/magit@4e29d5827c -> magit/magit@b4be194de1 millejoh/emacs-ipython-notebook@6063cee7fb -> millejoh/emacs-ipython-notebook@e04e1e19c6 tkf/emacs-request@3336eaa97d -> tkf/emacs-request@c769cf33f2 vedang/pdf-tools@72ef774320 -> vedang/pdf-tools@326552eef7 zx2c4/password-store@eea24967a0 -> zx2c4/password-store@c4d8a1d815
tools/magit
Description
This module provides Magit, an interface to the Git version control system.
If you are new to Magit, see the Getting Started section of its project readme.
Maintainers
This module has no dedicated maintainers.
Module Flags
+forge
Enable Forge; a porcelain for managing issues and PRs from within Emacs. Will take a while on first run to build emacsql-sqlite.
Plugins
- magit
- forge* (
+forge
) - magit-gitflow
- magit-todos
- github-review
- evil-magit* (
:editor evil +everywhere
)
Hacks
forge
was modified to defer compilation of emacsql-sqlite until you try to use forge, rather than when magit first loads (which could be as soon as startup).magit
has been modified to recognize$XDG_CACHE_HOME/git/credential/socket
.magit
has been modified to invalidate the projectile cache when you check out a new branch or commit.magit
has been modified to revert repo buffers (e.g. after changing branches) when you later switch to them, rather than all at once.
Prerequisites
This module requires git
.
Forge will require a Github API token the first time you run forge-pull
.
TODO Features
Configuration
Add these to $DOOMDIR/config.el
.
Enable Gravatars
This will enable gravatars when viewing commits. The service used by default is Libravatar.
(setq magit-revision-show-gravatars '("^Author: " . "^Commit: "))
Enable granular diff-highlights for all hunks
By default, changes are highlighted linewise for all but the selected hunk. This has performance reasons. You can enable character-wise highlights for all visible hunks with:
(after! magit
(setq magit-diff-refine-hunk 'all))