Difference between revisions of "Magit"

From Coder Merlin
Line 8: Line 8:
Magit provides an easy-to-user interface to git from within emacs.   
Magit provides an easy-to-user interface to git from within emacs.   
== Introduction ==
== Introduction ==
Magit is a package that runs within emacs and the aim of this package is to provide an interface for the version control system git. So basically, git repository can be accessed well independently from the CLI directly without any mediation but most of the time such a practice becomes cumbersome. Magit does the magic here by providing the scope to the developer to use the git with ease. To illustrate further, Magit works as a text based interface somewhere falling between CLI, IDE and GUI while combining all the features of the three.
{{ComingSoon|
{{ComingSoon|
* No need to exit emacs or run an embedded shell
* No need to exit emacs or run an embedded shell

Revision as of 07:30, 21 December 2020

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Magit

Prerequisites[edit]

Background[edit]

Magit provides an easy-to-user interface to git from within emacs.

Introduction[edit]

Magit is a package that runs within emacs and the aim of this package is to provide an interface for the version control system git. So basically, git repository can be accessed well independently from the CLI directly without any mediation but most of the time such a practice becomes cumbersome. Magit does the magic here by providing the scope to the developer to use the git with ease. To illustrate further, Magit works as a text based interface somewhere falling between CLI, IDE and GUI while combining all the features of the three.



ComingSoonIcon.png
Coming Soon
  • No need to exit emacs or run an embedded shell
  • Simplified commands and menus


Hint.pngHelpful Hint

The default Merlin Server configuration includes CONTROL-x g as a keyboard shortcut for magit-status

Useful Commands[edit]

Show Logs
CONTROL-x g l l
Show Logs (particular file)
CONTROL-x l -- filename l
Show Tags
CONTROL-x g y

Key Concepts[edit]

Exercises[edit]

References[edit]