[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-403":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},403,"lazygit","jesseduffield\u002Flazygit","jesseduffield","simple terminal UI for git commands","",null,"Go",79347,2865,328,835,0,33,179,1308,167,120,"MIT License",false,"master",true,[27,28,29],"cli","git","terminal","2026-06-17 04:00:03","\u003Cdiv align=\"center\">\n\u003Csup>Special thanks to:\u003C\u002Fsup>\n\u003Cbr>\n\u003Cbr>\n\u003Ca href=\"https:\u002F\u002Fwww.warp.dev\u002F?utm_source=github&utm_medium=referral&utm_campaign=lazygit_20231023\">\n  \u003Cdiv>\n    \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fwarpdotdev\u002Fbrand-assets\u002Fblob\u002Fmain\u002FGithub\u002FSponsor\u002FWarp-Github-LG-02.png?raw=true\" width=\"400\" alt=\"Warp\">\n  \u003C\u002Fdiv>\n  \u003Cb>Warp, the intelligent terminal\u003C\u002Fb>\n  \u003Cbr>\n  \u003Cb>Available for macOS and Linux\u003C\u002Fb>\n  \u003Cbr>\n  \u003Cdiv>\n    \u003Csup>Visit warp.dev to learn more.\u003C\u002Fsup>\n  \u003C\u002Fdiv>\n\u003C\u002Fa>\n\u003Cbr>\n\u003Chr>\n\u003Ca href=\"https:\u002F\u002Ftuple.app\u002Flazygit\">\n  \u003Cdiv>\n    \u003Cimg src=\"..\u002Fassets\u002Ftuple.png\" width=\"400\" alt=\"Tuple\">\n  \u003C\u002Fdiv>\n  \u003Cb>Tuple, the premier screen sharing app for developers on macOS and Windows.\u003C\u002Fb>\n\u003C\u002Fa>\n\u003Cbr>\n\u003Chr>\n\u003Cbr>\n\u003Ca href=\"https:\u002F\u002Fwww.subble.com\">\n  \u003Cdiv>\n    \u003Cimg src=\"..\u002Fassets\u002Fsubble.webp\" width=\"400\" alt=\"Subble\">\n  \u003C\u002Fdiv>\n  \u003Cb>I (Jesse) co-founded Subble to save your company time and money by finding unused and over-provisioned SaaS licences. Check it out!\u003C\u002Fb>\n\u003C\u002Fa>\n\u003Cbr>\n\n\u003Chr>\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n  \u003Cimg width=\"536\" src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F8456633\u002F174470852-339b5011-5800-4bb9-a628-ff230aa8cd4e.png\">\n\u003C\u002Fp>\n\n\u003Cdiv align=\"center\">\n\nA simple terminal UI for git commands\n\u003Cbr\u002F>\n\n[![GitHub Releases](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fjesseduffield\u002Flazygit\u002Ftotal)](https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit\u002Freleases) [![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fjesseduffield\u002Flazygit)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Fjesseduffield\u002Flazygit) [![Codacy Badge](https:\u002F\u002Fapp.codacy.com\u002Fproject\u002Fbadge\u002FGrade\u002Ff46416b715d74622895657935fcada21)](https:\u002F\u002Fapp.codacy.com\u002Fgh\u002Fjesseduffield\u002Flazygit\u002Fdashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Codacy Badge](https:\u002F\u002Fapp.codacy.com\u002Fproject\u002Fbadge\u002FCoverage\u002Ff46416b715d74622895657935fcada21)](https:\u002F\u002Fapp.codacy.com\u002Fgh\u002Fjesseduffield\u002Flazygit\u002Fdashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage) [![golangci-lint](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flinted%20by-golangci--lint-brightgreen)](https:\u002F\u002Fgolangci-lint.run\u002F) [![GitHub tag](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002Fjesseduffield\u002Flazygit?color=blue)](https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit\u002Freleases\u002Flatest) [![homebrew](https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Fv\u002Flazygit?color=blue)](https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Flazygit)\n\n![commit_and_push](..\u002Fassets\u002Fdemo\u002Fcommit_and_push-compressed.gif)\n\n\u003C\u002Fdiv>\n\n## Sponsors\n\n\u003Cp align=\"center\">\n Maintenance of this project is made possible by all the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit\u002Fgraphs\u002Fcontributors\">contributors\u003C\u002Fa> and \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fjesseduffield\">sponsors\u003C\u002Fa>. If you'd like to sponsor this project and have your avatar or company logo appear below \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fjesseduffield\">click here\u003C\u002Fa>. 💙\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n\u003C!-- sponsors -->\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fintabulas\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;intabulas.png\" width=\"60px\" alt=\"User avatar: Mark Lussier\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpeppy\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;peppy.png\" width=\"60px\" alt=\"User avatar: Dean Herbert\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpiot\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;piot.png\" width=\"60px\" alt=\"User avatar: Peter Bjorklund\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foliverguenther\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;oliverguenther.png\" width=\"60px\" alt=\"User avatar: Oliver Günther\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpawanjay176\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;pawanjay176.png\" width=\"60px\" alt=\"User avatar: Pawan Dhananjay\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnaoey\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;naoey.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcarstengehling\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;carstengehling.png\" width=\"60px\" alt=\"User avatar: Carsten Gehling\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FXetera\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;Xetera.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnartc\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;nartc.png\" width=\"60px\" alt=\"User avatar: Chau Tran\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmatejcik\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;matejcik.png\" width=\"60px\" alt=\"User avatar: matejcik\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flucatume\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;lucatume.png\" width=\"60px\" alt=\"User avatar: theAverageDev (Luca Tumedei)\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FIvanZuy\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;IvanZuy.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fava1ar\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ava1ar.png\" width=\"60px\" alt=\"User avatar: Aliaksandr Stelmachonak\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpedropombeiro\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;pedropombeiro.png\" width=\"60px\" alt=\"User avatar: Pedro Pombeiro\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbburgy\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;bburgy.png\" width=\"60px\" alt=\"User avatar: Burgy Benjamin\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FJoeKlemmer\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;JoeKlemmer.png\" width=\"60px\" alt=\"User avatar: Joe Klemmer\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftobi\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;tobi.png\" width=\"60px\" alt=\"User avatar: Tobias Lütke\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbenbfortis\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;benbfortis.png\" width=\"60px\" alt=\"User avatar: Ben Beaumont\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjakewarren\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;jakewarren.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftgpholly\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;tgpholly.png\" width=\"60px\" alt=\"User avatar: Holly\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FTommylans\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;Tommylans.png\" width=\"60px\" alt=\"User avatar: Tom Lanser\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsocketbox\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;socketbox.png\" width=\"60px\" alt=\"User avatar: Casey Boettcher\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbitprophet\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;bitprophet.png\" width=\"60px\" alt=\"User avatar: Jeff Forcier\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftayleighr\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;tayleighr.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FNovakov\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;Novakov.png\" width=\"60px\" alt=\"User avatar: Maciej T. Nowak\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjhillyerd\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;jhillyerd.png\" width=\"60px\" alt=\"User avatar: James Hillyerd\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnekhaevskiy\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;nekhaevskiy.png\" width=\"60px\" alt=\"User avatar: Yury\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Freivilibre\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;reivilibre.png\" width=\"60px\" alt=\"User avatar: Olivier reivilibre\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FBSteffaniak\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;BSteffaniak.png\" width=\"60px\" alt=\"User avatar: Braden Steffaniak\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjordan-gillard\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;jordan-gillard.png\" width=\"60px\" alt=\"User avatar: Jordan Gillard\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsmangels\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;smangels.png\" width=\"60px\" alt=\"User avatar: Sebastian\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Famslezak\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;amslezak.png\" width=\"60px\" alt=\"User avatar: Andy Slezak\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmkock\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;mkock.png\" width=\"60px\" alt=\"User avatar: Martin Kock\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdanielkokott\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;danielkokott.png\" width=\"60px\" alt=\"User avatar: Daniel Kokott\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fheijmans\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;heijmans.png\" width=\"60px\" alt=\"User avatar: Jan Heijmans\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fknowald\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;knowald.png\" width=\"60px\" alt=\"User avatar: Kevin Nowald\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fethanjli\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ethanjli.png\" width=\"60px\" alt=\"User avatar: Ethan Li\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fphubaba\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;phubaba.png\" width=\"60px\" alt=\"User avatar: Robert Forler\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fneunkasulle\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;neunkasulle.png\" width=\"60px\" alt=\"User avatar: Jan Zenkner\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FRVxLab\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;RVxLab.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FFrederickGeek8\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;FrederickGeek8.png\" width=\"60px\" alt=\"User avatar: Frederick Morlock\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fezdac\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ezdac.png\" width=\"60px\" alt=\"User avatar: Maximilian Langenfeld\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flppassos\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;lppassos.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fneilcode\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;neilcode.png\" width=\"60px\" alt=\"User avatar: Neil Lambert\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdhh\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;dhh.png\" width=\"60px\" alt=\"User avatar: David Heinemeier Hansson\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fethanfischer\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ethanfischer.png\" width=\"60px\" alt=\"User avatar: Ethan Fischer\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fposhboytl\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;poshboytl.png\" width=\"60px\" alt=\"User avatar: Terry Tai\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Froesnera\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;roesnera.png\" width=\"60px\" alt=\"User avatar: Adam Roesner\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fseven1m\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;seven1m.png\" width=\"60px\" alt=\"User avatar: Tim Morgan\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsgoridotla1\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;sgoridotla1.png\" width=\"60px\" alt=\"User avatar: Maksym Shypulniak\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FADIX7\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ADIX7.png\" width=\"60px\" alt=\"User avatar: Kovács Ádám\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fslowdub\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;slowdub.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fserranomorante\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;serranomorante.png\" width=\"60px\" alt=\"User avatar: Patricio Serrano\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FkiriDevs\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;kiriDevs.png\" width=\"60px\" alt=\"User avatar: Kiri\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FStevenMasini\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;StevenMasini.png\" width=\"60px\" alt=\"User avatar: Steven Masini\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbjornevik\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;bjornevik.png\" width=\"60px\" alt=\"User avatar: John Even Bjørnevik\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmoberst\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;moberst.png\" width=\"60px\" alt=\"User avatar: Michael Oberst\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fadam-e-trepanier\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;adam-e-trepanier.png\" width=\"60px\" alt=\"User avatar: Adam Trepanier\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Farkalon76\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;arkalon76.png\" width=\"60px\" alt=\"User avatar: Kenth Fagerlund\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FDjuuu\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;Djuuu.png\" width=\"60px\" alt=\"User avatar: Julien Tardot\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fellord\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ellord.png\" width=\"60px\" alt=\"User avatar: Ellord Tayag\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FEdgarPost\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;EdgarPost.png\" width=\"60px\" alt=\"User avatar: Edgar Post-Buijs\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcaillou\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;caillou.png\" width=\"60px\" alt=\"User avatar: Pierre Spring\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmebezac\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;mebezac.png\" width=\"60px\" alt=\"User avatar: Zac Clay\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FTom94\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;Tom94.png\" width=\"60px\" alt=\"User avatar: Thomas Müller\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fccssmnn\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ccssmnn.png\" width=\"60px\" alt=\"User avatar: Carl Assmann\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fognevsd\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ognevsd.png\" width=\"60px\" alt=\"User avatar: Sergey Ognev\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmoodyhunter\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;moodyhunter.png\" width=\"60px\" alt=\"User avatar: Moody Liu\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Felithper\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;elithper.png\" width=\"60px\" alt=\"User avatar: Michael Howard\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FLasseBloch\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;LasseBloch.png\" width=\"60px\" alt=\"User avatar: Lasse Bloch Lauritsen\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdbrockman\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;dbrockman.png\" width=\"60px\" alt=\"User avatar: David Brockman\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fslavshik\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;slavshik.png\" width=\"60px\" alt=\"User avatar: Alexander Slavschik\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Faidalgol\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;aidalgol.png\" width=\"60px\" alt=\"User avatar: Aidan Gauland\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmbienkowsk\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;mbienkowsk.png\" width=\"60px\" alt=\"User avatar: Maksym Bieńkowski\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fjoshuawootonn\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;joshuawootonn.png\" width=\"60px\" alt=\"User avatar: Joshua Wootonn\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FI4nJ\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;I4nJ.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsandviklee\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;sandviklee.png\" width=\"60px\" alt=\"User avatar: Simon Sandvik Lee\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fglagnar\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;glagnar.png\" width=\"60px\" alt=\"User avatar: Thomas Gilbert\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fskrzepto\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;skrzepto.png\" width=\"60px\" alt=\"User avatar: Szymon Mucha\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Funnawut\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;unnawut.png\" width=\"60px\" alt=\"User avatar: Unnawut Leepaisalsuwanna\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwortmanb\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;wortmanb.png\" width=\"60px\" alt=\"User avatar: Bret Wortman\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsimoncdna\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;simoncdna.png\" width=\"60px\" alt=\"User avatar: Simon Cardona\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fandre-lameirinhas\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;andre-lameirinhas.png\" width=\"60px\" alt=\"User avatar: André Lameirinhas\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FSVappsLAB\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;SVappsLAB.png\" width=\"60px\" alt=\"User avatar: Scott Velez\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fooojustin\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;ooojustin.png\" width=\"60px\" alt=\"User avatar: justin\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmayfieldiv\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;mayfieldiv.png\" width=\"60px\" alt=\"User avatar: Mayfield\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsomaholiday\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;somaholiday.png\" width=\"60px\" alt=\"User avatar: Soma Holiday\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fbizmythy\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;bizmythy.png\" width=\"60px\" alt=\"User avatar: bizmyth\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdessalines\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;dessalines.png\" width=\"60px\" alt=\"User avatar: Dessalines\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FKKodiac\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;KKodiac.png\" width=\"60px\" alt=\"User avatar: Sean Hong(홍성민)\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FRADreymann\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;RADreymann.png\" width=\"60px\" alt=\"User avatar: Alex Dreymann\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ffelipeospina21\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;felipeospina21.png\" width=\"60px\" alt=\"User avatar: Felipe Ospina\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FriccardoNovaglia\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;riccardoNovaglia.png\" width=\"60px\" alt=\"User avatar: Riccardo Novaglia\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fnitipon-apaisri\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;nitipon-apaisri.png\" width=\"60px\" alt=\"User avatar: rxz\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Frbuchberger\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;rbuchberger.png\" width=\"60px\" alt=\"User avatar: Robert Buchberger\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftyamori\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;tyamori.png\" width=\"60px\" alt=\"User avatar: housekeeper\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ffogrye\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;fogrye.png\" width=\"60px\" alt=\"User avatar: Yurii\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpaalss\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;paalss.png\" width=\"60px\" alt=\"User avatar: Pål Syvertsen Stakvik\" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FSaucePackets\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;SaucePackets.png\" width=\"60px\" alt=\"User avatar: \" \u002F>\u003C\u002Fa>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fzakelfassi\">\u003Cimg src=\"https:&#x2F;&#x2F;github.com&#x2F;zakelfassi.png\" width=\"60px\" alt=\"User avatar: Zak El Fassi\" \u002F>\u003C\u002Fa>\u003C!-- sponsors -->\n\u003C\u002Fp>\n\n## Elevator Pitch\n\nRant time: You've heard it before, git is _powerful_, but what good is that power when everything is so damn hard to do? Interactive rebasing requires you to edit a goddamn TODO file in your editor? _Are you kidding me?_ To stage part of a file you need to use a command line program to step through each hunk and if a hunk can't be split down any further but contains code you don't want to stage, you have to edit an arcane patch file _by hand_? _Are you KIDDING me?!_ Sometimes you get asked to stash your changes when switching branches only to realise that after you switch and unstash that there weren't even any conflicts and it would have been fine to just checkout the branch directly? _YOU HAVE GOT TO BE KIDDING ME!_\n\nIf you're a mere mortal like me and you're tired of hearing how powerful git is when in your daily life it's a powerful pain in your ass, lazygit might be for you.\n\n## Table of contents\n\n- [Sponsors](#sponsors)\n- [Elevator Pitch](#elevator-pitch)\n- [Table of contents](#table-of-contents)\n- [Features](#features)\n  - [Stage individual lines](#stage-individual-lines)\n  - [Interactive Rebase](#interactive-rebase)\n  - [Cherry-pick](#cherry-pick)\n  - [Bisect](#bisect)\n  - [Nuke the working tree](#nuke-the-working-tree)\n  - [Amend an old commit](#amend-an-old-commit)\n  - [Filter](#filter)\n  - [Invoke a custom command](#invoke-a-custom-command)\n  - [Worktrees](#worktrees)\n  - [Rebase magic (custom patches)](#rebase-magic-custom-patches)\n  - [Rebase from marked base commit](#rebase-from-marked-base-commit)\n  - [Undo](#undo)\n  - [Commit graph](#commit-graph)\n  - [Compare two commits](#compare-two-commits)\n- [Tutorials](#tutorials)\n- [Installation](#installation)\n  - [Binary Releases](#binary-releases)\n  - [Dev container](#dev-container-feature)\n  - [Homebrew](#homebrew)\n  - [MacPorts](#macports)\n  - [Void Linux](#void-linux)\n  - [Scoop (Windows)](#scoop-windows)\n  - [gah (Linux and Mac OS)](#gah-linux-and-mac-os)\n  - [Arch Linux](#arch-linux)\n  - [Fedora \u002F Amazon Linux 2023 \u002F CentOS Stream](#fedora--amazon-linux-2023--centos-stream)\n    - [Fedora \u002F RHEL Derivatives (Terra)](#fedora--rhel-derivatives-terra)\n  - [Solus Linux](#solus-linux)\n  - [Debian and Ubuntu](#debian-and-ubuntu)\n  - [Funtoo Linux](#funtoo-linux)\n  - [Gentoo Linux](#gentoo-linux)\n  - [openSUSE](#opensuse)\n  - [NixOS](#nixos)\n  - [Flox](#flox)\n  - [FreeBSD](#freebsd)\n  - [Termux](#termux)\n  - [Conda](#conda)\n  - [Go](#go)\n  - [Chocolatey (Windows)](#chocolatey-windows)\n  - [Winget (Windows 10 1709 or later)](#winget-windows-10-1709-or-later)\n  - [Manual](#manual)\n- [Usage](#usage)\n  - [Keybindings](#keybindings)\n  - [Changing Directory On Exit](#changing-directory-on-exit)\n  - [Undo\u002FRedo](#undoredo)\n- [Configuration](#configuration)\n  - [Custom Pagers](#custom-pagers)\n  - [Custom Commands](#custom-commands)\n  - [Git flow support](#git-flow-support)\n- [Contributing](#contributing)\n  - [Debugging Locally](#debugging-locally)\n- [Donate](#donate)\n- [FAQ](#faq)\n  - [What do the commit colors represent?](#what-do-the-commit-colors-represent)\n- [Shameless Plug](#shameless-plug)\n- [Alternatives](#alternatives)\n\nLazygit is not my fulltime job but it is a hefty part time job so if you want to support the project please consider [sponsoring me](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fjesseduffield)\n\n## Features\n\n### Stage individual lines\n\nPress space on the selected line to stage it, or press `v` to start selecting a range of lines. You can also press `a` to select the entirety of the current hunk.\n\n![stage_lines](..\u002Fassets\u002Fdemo\u002Fstage_lines-compressed.gif)\n\n### Interactive Rebase\n\nPress `i` to start an interactive rebase. Then squash (`s`), fixup (`f`), drop (`d`), edit (`e`), move up (`ctrl+k`) or move down (`ctrl+j`) any of TODO commits, before continuing the rebase by bringing up the rebase options menu with `m` and then selecting `continue`.\n\nYou can also perform any these actions as a once-off (e.g. pressing `s` on a commit to squash it) without explicitly starting a rebase.\n\nThis demo also uses shift+down to select a range of commits to move and fixup.\n\n![interactive_rebase](..\u002Fassets\u002Fdemo\u002Finteractive_rebase-compressed.gif)\n\n### Cherry-pick\n\nPress `shift+c` on a commit to copy it and press `shift+v` to paste (cherry-pick) it.\n\n![cherry_pick](..\u002Fassets\u002Fdemo\u002Fcherry_pick-compressed.gif)\n\n### Bisect\n\nPress `b` in the commits view to mark a commit as good\u002Fbad in order to begin a git bisect.\n\n![bisect](..\u002Fassets\u002Fdemo\u002Fbisect-compressed.gif)\n\n### Nuke the working tree\n\nFor when you really want to just get rid of anything that shows up when you run `git status` (and yes that includes dirty submodules) [kidpix style](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=N4E2B_k2Bss), press `shift+d` to bring up the reset options menu and then select the 'nuke' option.\n\n![Nuke working tree](..\u002Fassets\u002Fdemo\u002Fnuke_working_tree-compressed.gif)\n\n### Amend an old commit\n\nPressing `shift+a` on any commit will amend that commit with the currently staged changes (running an interactive rebase in the background).\n\n![amend_old_commit](..\u002Fassets\u002Fdemo\u002Famend_old_commit-compressed.gif)\n\n### Filter\n\nYou can filter a view with `\u002F`. Here we filter down our branches view and then hit `enter` to view its commits.\n\n![filter](..\u002Fassets\u002Fdemo\u002Ffilter-compressed.gif)\n\n### Invoke a custom command\n\nLazygit has a very flexible [custom command system](docs\u002FCustom_Command_Keybindings.md). In this example a custom command is defined which emulates the built-in branch checkout action.\n\n![custom_command](..\u002Fassets\u002Fdemo\u002Fcustom_command-compressed.gif)\n\n### Worktrees\n\nYou can create worktrees to have multiple branches going at once without the need for stashing or creating WIP commits when switching between them. Press `w` in the branches view to create a worktree from the selected branch and switch to it.\n\n![worktree_create_from_branches](..\u002Fassets\u002Fdemo\u002Fworktree_create_from_branches-compressed.gif)\n\n### Rebase magic (custom patches)\n\nYou can build a custom patch from an old commit and then remove the patch from the commit, split out a new commit, apply the patch in reverse to the index, and more.\n\nIn this example we have a redundant comment that we want to remove from an old commit. We hit `\u003Center>` on the commit to view its files, then `\u003Center>` on a file to focus the patch, then `\u003Cspace>` to add the comment line to our custom patch, and then `ctrl+p` to view the custom patch options; selecting to remove the patch from the current commit.\n\nLearn more in the [Rebase magic Youtube tutorial](https:\u002F\u002Fyoutu.be\u002F4XaToVut_hs).\n\n![custom_patch](..\u002Fassets\u002Fdemo\u002Fcustom_patch-compressed.gif)\n\n### Rebase from marked base commit\n\nSay you're on a feature branch that was itself branched off of the develop branch, and you've decided you'd rather be branching off the master branch. You need a way to rebase only the commits from your feature branch. In this demo we check to see which was the last commit on the develop branch, then press `shift+b` to mark that commit as our base commit, then press `r` on the master branch to rebase onto it, only bringing across the commits from our feature branch. Then we push our changes with `shift+p`.\n\n![rebase_onto](..\u002Fassets\u002Fdemo\u002Frebase_onto-compressed.gif)\n\n### Undo\n\nYou can undo the last action by pressing `z` and redo with `shift+z`. Here we drop a couple of commits and then undo the actions.\nUndo uses the reflog which is specific to commits and branches so we can't undo changes to the working tree or stash.\n\n[More info](\u002Fdocs\u002FUndoing.md)\n\n![undo](..\u002Fassets\u002Fdemo\u002Fundo-compressed.gif)\n\n### Commit graph\n\nWhen viewing the commit graph in an enlarged window (use `+` and `_` to cycle screen modes), the commit graph is shown. Colours correspond to the commit authors, and as you navigate down the graph, the parent commits of the selected commit are highlighted.\n\n![commit_graph](..\u002Fassets\u002Fdemo\u002Fcommit_graph-compressed.gif)\n\n### Compare two commits\n\nIf you press `shift+w` on a commit (or branch\u002Fref) a menu will open that allows you to mark that commit so that any other commit you select will be diffed against it. Once you've selected the second commit, you'll see the diff in the main view and if you press `\u003Center>` you'll see the files of the diff. You can press `shift+w` to view the diff menu again to see options like reversing the diff direction or exiting diff mode. You can also exit diff mode by pressing `\u003Cescape>`.\n\n![diff_commits](..\u002Fassets\u002Fdemo\u002Fdiff_commits-compressed.gif)\n\n### Show GitHub pull requests\n\nIn the branches panel, lazygit can show which of your branches have an associated GitHub pull request by showing a GitHub icon next to the branch name; its color shows the state of the PR (open, merged, etc.). For those that have one, you can press `shift-G` to open the PR in the browser. There is no configuration needed to enable this, but it requires the [`gh`](https:\u002F\u002Fcli.github.com\u002F) tool to be installed, and you need to do `gh auth login` once to allow lazygit to access GitHub.\n\n## Tutorials\n\n[\u003Cimg src=\"https:\u002F\u002Fi.imgur.com\u002FsVEktDn.png\">](https:\u002F\u002Fyoutu.be\u002FCPLdltN7wgE)\n\n- [15 Lazygit Features in 15 Minutes](https:\u002F\u002Fyoutu.be\u002FCPLdltN7wgE)\n- [Basics Tutorial](https:\u002F\u002Fyoutu.be\u002FVDXvbHZYeKY)\n- [Rebase Magic Tutorial](https:\u002F\u002Fyoutu.be\u002F4XaToVut_hs)\n\n## Installation\n\n[![Packaging status](https:\u002F\u002Frepology.org\u002Fbadge\u002Fvertical-allrepos\u002Flazygit.svg?columns=3)](https:\u002F\u002Frepology.org\u002Fproject\u002Flazygit\u002Fversions)\n\n_Most of the above packages are maintained by third parties so be sure to vet them yourself and confirm that the maintainer is a trustworthy looking person who attends local sports games and gives back to their communities with barbeque fundraisers etc_\n\n### Binary Releases\n\nFor Windows, Mac OS(10.12+) or Linux, you can download a binary release [here](..\u002F..\u002Freleases).\n\n### Dev container feature\n\nIf you want to use lazygit in e.g. one of your GitHub Codespaces, there is a third-party [dev container feature](https:\u002F\u002Fgithub.com\u002FGeorgOfenbeck\u002Ffeatures\u002Ftree\u002Fmain\u002Fsrc\u002Flazygit-linuxbinary) based on the binary releases mentioned above.\n\n### Homebrew\n\nIt works with Linux, too.\n\n```sh\nbrew install lazygit\n```\n\n### MacPorts\n\nLatest version built from github releases.\nTap:\n\n```\nsudo port install lazygit\n```\n\n### Void Linux\n\nPackages for Void Linux are available in the distro repo\n\nThey follow upstream latest releases\n\n```sh\nsudo xbps-install -S lazygit\n```\n\n### Scoop (Windows)\n\nYou can install `lazygit` using [scoop](https:\u002F\u002Fscoop.sh\u002F). It's in the `extras` bucket:\n\n```sh\n# Add the extras bucket\nscoop bucket add extras\n\n# Install lazygit\nscoop install lazygit\n```\n\n### gah (Linux and Mac OS)\n\nYou can install `lazygit` using [gah](https:\u002F\u002Fgithub.com\u002Fmarverix\u002Fgah\u002F):\n\n```sh\ngah install lazygit\n```\n\n### Arch Linux\n\nPackages for Arch Linux are available via pacman and AUR (Arch User Repository).\n\nThere are two packages. The stable one which is built with the latest release\nand the git version which builds from the most recent commit.\n\n- Stable: `sudo pacman -S lazygit`\n- Development: \u003Chttps:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Flazygit-git\u002F>\n\nInstruction of how to install AUR content can be found here:\n\u003Chttps:\u002F\u002Fwiki.archlinux.org\u002Findex.php\u002FArch_User_Repository>\n\n### Fedora \u002F Amazon Linux 2023 \u002F CentOS Stream\n\nPackages for Fedora, Amazon Linux 2023 and CentOS Stream are available via\n[Copr](https:\u002F\u002Fcopr.fedorainfracloud.org\u002Fcoprs\u002Fdejan\u002Flazygit\u002F) (Cool Other Package Repo).\n\n```sh\nsudo dnf copr enable dejan\u002Flazygit\nsudo dnf install lazygit\n```\n\nThese packages are built using the RPM spec file located here: https:\u002F\u002Fcodeberg.org\u002Fdejan\u002Frpm-lazygit\n\nYou should be able to build RPMs for Fedora 41 or older, and other Fedora derivatives using the\nSRPM (Source RPM) file that you can grab from the latest COPR build.\n\n#### Fedora \u002F RHEL Derivatives (Terra)\n\nPackages for Fedora and RHEL derivatives are also available from the [Terra Repository](https:\u002F\u002Fterra.fyralabs.com\u002F).\n\n```sh\nsudo dnf install --nogpgcheck --repofrompath 'terra,https:\u002F\u002Frepos.fyralabs.com\u002Fterra$releasever' terra-release\nsudo dnf install lazygit\n```\n\n(Install guide for Atomic\u002FEL can be found on their [README](https:\u002F\u002Fgithub.com\u002Fterrapkg\u002Fpackages\u002Fpull\u002F9747))\n\nTerra also has `lazygit-doc`, which contains the contents of the [docs](https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit\u002Ftree\u002Fmaster\u002Fdocs) folder.\n\n### Solus Linux\n\n```sh\nsudo eopkg install lazygit\n```\n\n### Debian and Ubuntu\n\nFor **Debian 13 \"Trixie\", Sid**, and later, or **Ubuntu 25.10 \"Questing Quokka\"** and later:\n\n```sh\nsudo apt install lazygit\n```\n\nFor **Debian 12 \"Bookworm\", Ubuntu 25.04 \"Plucky Puffin\"** and earlier:\n\n```sh\nLAZYGIT_VERSION=$(curl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002Fjesseduffield\u002Flazygit\u002Freleases\u002Flatest\" | \\grep -Po '\"tag_name\": *\"v\\K[^\"]*')\nLAZYGIT_ARCH=$(uname -m | sed -e 's\u002Faarch64\u002Farm64\u002F')\ncurl -Lo lazygit.tar.gz \"https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit\u002Freleases\u002Fdownload\u002Fv${LAZYGIT_VERSION}\u002Flazygit_${LAZYGIT_VERSION}_Linux_${LAZYGIT_ARCH}.tar.gz\"\ntar xf lazygit.tar.gz lazygit\nsudo install lazygit -D -t \u002Fusr\u002Flocal\u002Fbin\u002F\n```\n\nVerify the correct installation of lazygit:\n\n```sh\nlazygit --version\n```\n\n### Funtoo Linux\n\nFuntoo Linux has an autogenerated lazygit package in [dev-kit](https:\u002F\u002Fgithub.com\u002Ffuntoo\u002Fdev-kit\u002Ftree\u002F1.4-release\u002Fdev-vcs\u002Flazygit):\n\n```sh\nsudo emerge dev-vcs\u002Flazygit\n```\n\n### Gentoo Linux\n\nLazygit is not (yet) in main Gentoo portage, however an ebuild is available in [GURU overlay](https:\u002F\u002Fgithub.com\u002Fgentoo-mirror\u002Fguru\u002Ftree\u002Fmaster\u002Fdev-vcs\u002Flazygit)\n\nYou can either add the overlay to your system and install lazygit as usual:\n\n```sh\nsudo eselect repository enable guru\nsudo emaint sync -r guru\nsudo emerge dev-vcs\u002Flazygit\n```\n\n### openSUSE\n\nThe lazygit package is currently built in [devel:languages:go\u002Flazygit](https:\u002F\u002Fbuild.opensuse.org\u002Fpackage\u002Fshow\u002Fdevel:languages:go\u002Flazygit).\n\nTo install lazygit on openSUSE Tumbleweed run:\n\n```sh\nsudo zypper ar https:\u002F\u002Fdownload.opensuse.org\u002Frepositories\u002Fdevel:\u002Flanguages:\u002Fgo\u002FopenSUSE_Factory\u002Fdevel:languages:go.repo\nsudo zypper ref && sudo zypper in lazygit\n```\n\nTo install lazygit on openSUSE Leap run:\n\n```sh\nsource \u002Fetc\u002Fos-release\nsudo zypper ar https:\u002F\u002Fdownload.opensuse.org\u002Frepositories\u002Fdevel:\u002Flanguages:\u002Fgo\u002F$VERSION_ID\u002Fdevel:languages:go.repo\nsudo zypper ref && sudo zypper in lazygit\n```\n\n### NixOS\n\n#### Using lazygit from nixpkgs\n\nOn NixOS, lazygit is packaged with nix and distributed via nixpkgs.\nYou can try lazygit without installing it with:\n\n```sh\nnix-shell -p lazygit\n# or with flakes enabled\nnix run nixpkgs#lazygit\n```\nOr you can add lazygit to your `configuration.nix` using the `environment.systemPackages` option.\nMore details can be found via NixOS search [page](https:\u002F\u002Fsearch.nixos.org\u002F).\n\n#### Using the official lazygit flake\n\nThis repository includes a nix flake that provides the latest development version and additional development tools:\n\n**Run lazygit directly from the repository:**\n```sh\nnix run github:jesseduffield\u002Flazygit\n# or from a local clone\nnix run .\n```\n\n**Build lazygit from source:**\n```sh\nnix build github:jesseduffield\u002Flazygit\n# or from a local clone\nnix build .\n```\n\n**Development environment:**\nFor contributors, the flake provides a development shell with Go toolchain, development tools, and dependencies:\n```sh\nnix develop github:jesseduffield\u002Flazygit\n# or from a local clone\nnix develop\n```\n\nThe development shell includes:\n- Go toolchain\n- git and make\n- Proper environment variables for development\n\n**Using in other flakes:**\nThe flake also provides an overlay for easy integration into other flake-based projects:\n```nix\n{\n  inputs.lazygit.url = \"github:jesseduffield\u002Flazygit\";\n\n  outputs = { self, nixpkgs, lazygit }: {\n    # Use the overlay\n    nixpkgs.overlays = [ lazygit.overlays.default ];\n  };\n}\n```\n\n### Flox\n\nLazygit can be installed into a Flox environment as follows.\n\n```sh\nflox install lazygit\n```\n\nMore details about Flox can be found on [their website](https:\u002F\u002Fflox.dev\u002F).\n\n### FreeBSD\n\n```sh\npkg install lazygit\n```\n\n### Termux\n\n```sh\napt install lazygit\n```\n\n### Conda\n\nReleased versions are available for different platforms, see \u003Chttps:\u002F\u002Fanaconda.org\u002Fconda-forge\u002Flazygit>\n\n```sh\nconda install -c conda-forge lazygit\n```\n\n### Go\n\n```sh\ngo install github.com\u002Fjesseduffield\u002Flazygit@latest\n```\n\nPlease note:\nIf you get an error claiming that lazygit cannot be found or is not defined, you\nmay need to add `~\u002Fgo\u002Fbin` to your $PATH (macOS\u002FLinux), or `%HOME%\\go\\bin`\n(Windows). Not to be mistaken for `C:\\Go\\bin` (which is for Go's own binaries,\nnot apps like lazygit).\n\n### Chocolatey (Windows)\n\nYou can install `lazygit` using [Chocolatey](https:\u002F\u002Fchocolatey.org\u002F):\n\n```sh\nchoco install lazygit\n```\n\n### Winget (Windows 10 1709 or later)\n\nYou can install `lazygit` using the `winget` command in the Windows Terminal with the following command:\n\n```powershell\nwinget install -e --id=JesseDuffield.lazygit\n```\n\n### Manual\n\nYou'll need to [install Go](https:\u002F\u002Fgolang.org\u002Fdoc\u002Finstall)\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002Fjesseduffield\u002Flazygit.git\ncd lazygit\ngo install\n```\n\nYou can also use `go run main.go` to compile and run in one go (pun definitely intended)\n\n## Usage\n\nCall `lazygit` in your terminal inside a git repository.\n\n```sh\n$ lazygit\n```\n\nIf you want, you can\nalso add an alias for this with `echo \"alias lg='lazygit'\" >> ~\u002F.zshrc` (or\nwhichever rc file you're using).\n\n### Keybindings\n\nYou can check out the list of keybindings [here](\u002Fdocs\u002Fkeybindings).\n\n### Changing Directory On Exit\n\nIf you change repos in lazygit and want your shell to change directory into that repo on exiting lazygit, add this to your `~\u002F.zshrc` (or other rc file):\n\n```\nlg()\n{\n    export LAZYGIT_NEW_DIR_FILE=~\u002F.lazygit\u002Fnewdir\n\n    lazygit \"$@\"\n\n    if [ -f $LAZYGIT_NEW_DIR_FILE ]; then\n            cd \"$(cat $LAZYGIT_NEW_DIR_FILE)\"\n            rm -f $LAZYGIT_NEW_DIR_FILE > \u002Fdev\u002Fnull\n    fi\n}\n```\n\nThen `source ~\u002F.zshrc` and from now on when you call `lg` and exit you'll switch directories to whatever you were in inside lazygit. To override this behaviour you can exit using `shift+Q` rather than just `q`.\n\n### Undo\u002FRedo\n\nSee the [docs](\u002Fdocs\u002FUndoing.md)\n\n## Configuration\n\nCheck out the [configuration docs](docs\u002FConfig.md).\n\n### Custom Pagers\n\nSee the [docs](docs\u002FCustom_Pagers.md)\n\n### Custom Commands\n\nIf lazygit is missing a feature, there's a good chance you can implement it yourself with a custom command!\n\nSee the [docs](docs\u002FCustom_Command_Keybindings.md)\n\n### Git flow support\n\nLazygit supports [Gitflow](https:\u002F\u002Fgithub.com\u002Fnvie\u002Fgitflow) if you have it installed. To understand how the Gitflow model works check out Vincent Driessen's original [post](https:\u002F\u002Fnvie.com\u002Fposts\u002Fa-successful-git-branching-model\u002F) explaining it. To view Gitflow options from within Lazygit, press `i` from within the branches view.\n\n## Contributing\n\nWe love your input! Please check out the [contributing guide](CONTRIBUTING.md).\nFor contributor discussion about things not better discussed here in the repo, join the [discord channel](https:\u002F\u002Fdiscord.gg\u002FehwFt2t4wt)\n\n\u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002FehwFt2t4wt\">\u003Cimg src='..\u002Fassets\u002Fdiscord.png' width='75'>\u003C\u002Fa>\n\nCheck out this [video](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=kNavnhzZHtk) walking through the creation of a small feature in lazygit if you want an idea of where to get started.\n\n### Debugging Locally\n\nRun `lazygit --debug` in one terminal tab and `lazygit --logs` in another to view the program and its log output side by side\n\n## Donate\n\nIf you would like to support the development of lazygit, consider [sponsoring me](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fjesseduffield) (github is matching all donations dollar-for-dollar for 12 months)\n\n## FAQ\n\n### What do the commit colors represent?\n\n- Green: the commit is included in the master branch\n- Yellow: the commit is not included in the master branch\n- Red: the commit has not been pushed to the upstream branch\n\n## Shameless Plug\n\nIf you want to see what I (Jesse) am up to in terms of development, follow me on\n[twitter](https:\u002F\u002Ftwitter.com\u002FDuffieldJesse) or check out my [blog](https:\u002F\u002Fjesseduffield.com\u002F)\n\n## Alternatives\n\nIf you find that lazygit doesn't quite satisfy your requirements, these may be a better fit:\n\n- [GitUI](https:\u002F\u002Fgithub.com\u002FExtrawurst\u002Fgitui)\n- [tig](https:\u002F\u002Fgithub.com\u002Fjonas\u002Ftig)\n- [GitArbor TUI](https:\u002F\u002Fgithub.com\u002Fcadamsdev\u002Fgitarbor-tui)\n","lazygit 是一个用于 Git 命令的简单终端用户界面。它使用 Go 语言开发，通过提供直观的交互式界面来简化常见的 Git 操作流程，如提交更改、查看差异和管理分支等。lazygit 的设计注重效率与易用性，支持键盘快捷键操作，并且可以无缝集成到现有的工作流中。适用于需要频繁进行版本控制操作但又希望保持在命令行环境下的开发者们，特别适合那些希望通过更高效方式管理代码库的专业人士。",2,"2026-06-17 02:35:31","top_all"]