Difference between revisions of "Magit"

From Coder Merlin
Line 17: Line 17:


== Useful Commands ==
== Useful Commands ==
;magit-wip-log [Command]:This command shows the log for a branch and its wip refs.
;Show Logs:{{SpecialKey|CONTROL|x}} {{Key|g}} {{Key|l}} {{Key|l}}
;Show Logs (particular file):{{SpecialKey|CONTROL|x}} {{Key|l}} {{Key|-}}{{Key|-}} ''filename'' {{Key|l}}
;Show Tags:{{SpecialKey|CONTROL|x}} {{Key|g}} {{Key|y}}


== Key Concepts ==
== Key Concepts ==

Revision as of 20:43, 25 January 2020

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

Prerequisites[edit]

  • W1006 Source Control
  • W1007 GitHub
  • W1007.20 Merging

Background[edit]

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

Introduction[edit]

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]