{"id":5825,"date":"2025-07-05T17:59:05","date_gmt":"2025-07-05T16:59:05","guid":{"rendered":"https:\/\/villpress.com\/?p=5825"},"modified":"2025-07-05T18:28:36","modified_gmt":"2025-07-05T17:28:36","slug":"use-lazygit-to-speed-up-your-git-flow-no-more-typing-the-same-stuff","status":"publish","type":"post","link":"https:\/\/villpress.com\/fr\/use-lazygit-to-speed-up-your-git-flow-no-more-typing-the-same-stuff\/","title":{"rendered":"Use Lazygit to Speed Up Your Git Flow (No More Typing the Same Stuff)"},"content":{"rendered":"<p><strong>Lazygit<\/strong> is a free and open-source command-line UI tool that makes using Git easier and faster. Instead of typing long Git commands, Lazygit gives you a clean and interactive terminal interface with helpful keyboard shortcuts. It\u2019s great for developers who want to manage commits, branches, pulls, and pushes more efficiently.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install It &amp; Get Moving<\/h2>\n\n\n\n<p>No long setup. Just run one of these:<\/p>\n\n\n\n<p><strong>macOS<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code>brew install lazygit\n<\/code><\/pre>\n\n\n\n<p><strong>Ubuntu<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code>sudo add-apt-repository ppa:lazygit-team\/release\nsudo apt update &amp;&amp; sudo apt install lazygit\n<\/code><\/pre>\n\n\n\n<p><strong>Windows (Chocolatey)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code>choco install lazygit\n<\/code><\/pre>\n\n\n\n<p>Done. Open your terminal, type <code>lazygit<\/code>, and you&#8217;re in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What You See<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Changed files (staged or not)<\/li>\n\n\n\n<li>Your commit history<\/li>\n\n\n\n<li>Current branch and remotes<\/li>\n\n\n\n<li>Logs and diffs, live<\/li>\n\n\n\n<li>Stash (because we always need it)<\/li>\n<\/ul>\n\n\n\n<p>Everything in one screen. No mental overhead.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shortcuts That Matter<\/h2>\n\n\n\n<p>You won\u2019t need a cheat sheet after two uses:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Tab<\/code> \u2014 move between panels<\/li>\n\n\n\n<li><code>j\/k<\/code> \u2014 navigate<\/li>\n\n\n\n<li><code>Space<\/code> \u2014 stage\/unstage<\/li>\n\n\n\n<li><code>c<\/code> \u2014 commit<\/li>\n\n\n\n<li><code>p<\/code> \u2014 push<\/li>\n\n\n\n<li><code>P<\/code> \u2014 pull<\/li>\n\n\n\n<li><code>b<\/code> \u2014 switch\/create branch<\/li>\n\n\n\n<li><code>x<\/code> \u2014 discard file<\/li>\n\n\n\n<li><code>s<\/code> \u2014 stash it<\/li>\n\n\n\n<li><code>q<\/code> \u2014 close or go back<\/li>\n\n\n\n<li><code>?<\/code> \u2014 full list of keys<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Real-World Flow<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code># inside your project folder\nlazygit\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stage files fast<\/li>\n\n\n\n<li>Write commit message (inline, not in Vim hell)<\/li>\n\n\n\n<li>Push or pull without typing full commands<\/li>\n\n\n\n<li>Create\/switch branches instantly<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Why You Should use Lazygit<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It\u2019s <strong>fast<\/strong>.<\/li>\n\n\n\n<li>It\u2019s <strong>clean<\/strong>.<\/li>\n\n\n\n<li>No more Googling Git commands.<\/li>\n\n\n\n<li>Your brain stays in the code, not in Git docs.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Lazygit is a free and open-source command-line UI tool that makes using Git easier and faster. Instead of typing long Git commands, Lazygit gives you a clean and interactive terminal interface with helpful keyboard shortcuts. It\u2019s great for developers who want to manage commits, branches, pulls, and pushes more efficiently. Install It &amp; Get Moving [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":5826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[249],"tags":[],"ppma_author":[332],"class_list":{"0":"post-5825","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-web-development"},"authors":[{"term_id":332,"user_id":3,"is_guest":0,"slug":"sebastianhills","display_name":"Sebastian Hills","avatar_url":"https:\/\/villpress.com\/wp-content\/uploads\/2024\/08\/sebas-96x96.jpg","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/posts\/5825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/comments?post=5825"}],"version-history":[{"count":1,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/posts\/5825\/revisions"}],"predecessor-version":[{"id":5827,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/posts\/5825\/revisions\/5827"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/media\/5826"}],"wp:attachment":[{"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/media?parent=5825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/categories?post=5825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/tags?post=5825"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/villpress.com\/fr\/wp-json\/wp\/v2\/ppma_author?post=5825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}