{"id":7145,"date":"2019-01-04T09:38:58","date_gmt":"2019-01-04T09:38:58","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=7145"},"modified":"2019-01-08T12:01:35","modified_gmt":"2019-01-08T12:01:35","slug":"how-to-use-magit-to-manage-git-projects","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/04\/how-to-use-magit-to-manage-git-projects\/","title":{"rendered":"How to use Magit to manage Git projects"},"content":{"rendered":"<p><a href=\"https:\/\/git-scm.com\" target=\"_blank\" rel=\"noopener\">Git<\/a> is an excellent <a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Getting-Started-About-Version-Control\" target=\"_blank\" rel=\"noopener\">version control<\/a> tool for managing projects, but it can be hard for novices to learn. It&#8217;s difficult to work from the Git command line unless you&#8217;re familiar with the flags and options and the appropriate situations to use them. This can be discouraging and cause people to be stuck with very limited usage.<\/p>\n<p>Fortunately, most of today&#8217;s integrated development environments (IDEs) include Git extensions that make using it a lot easier. One such Git extension available in Emacs is called <a href=\"https:\/\/magit.vc\" target=\"_blank\" rel=\"noopener\">Magit<\/a>.<\/p>\n<p>The Magit project has been around for 10 years and defines itself as &#8220;a Git porcelain inside Emacs.&#8221; In other words, it&#8217;s an interface where every action can be managed by pressing a key. This article walks you through the Magit interface and explains how to use it to manage a Git project.<\/p>\n<p>If you haven&#8217;t already, <a href=\"https:\/\/www.gnu.org\/software\/emacs\/download.html\" target=\"_blank\" rel=\"noopener\">install Emacs<\/a>, then <a href=\"https:\/\/magit.vc\/manual\/magit\/Installing-from-Melpa.html#Installing-from-Melpa\" target=\"_blank\" rel=\"noopener\">install Magit<\/a> before you continue with this tutorial&#8230;<\/p>\n<p><a href=\"http:\/\/lxer.com\/module\/newswire\/ext_link.php?rid=264521\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git is an excellent version control tool for managing projects, but it can be hard for novices to learn. It&#8217;s difficult to work from the Git command line unless you&#8217;re familiar with the flags and options and the appropriate situations to use them. This can be discouraging and cause people to be stuck with very &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/01\/04\/how-to-use-magit-to-manage-git-projects\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to use Magit to manage Git projects&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7145","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=7145"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7145\/revisions"}],"predecessor-version":[{"id":7492,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/7145\/revisions\/7492"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=7145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=7145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=7145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}