Presentation of lazygit
Why do I use lazygit I use Lazygit in order to have a gui for my git folder management. It is usefull to see modifications commits ect. You can manage multiple aspect of yoiur git project: commits patch selection (selecting line to add to commits) branches history What is really cool? GitMoji Fiorstly you can use gitmoji, quite usefull on commits customCommands: - key: "<c-c>" context: "files" description: "commit files with format" prompts: - type: "menu" title: "What kind of commit type is it?" key: "Type" options: - name: ":ambulance:" description: "(fix) ๐ Fatal bug fix" value: ":ambulance: fix:" - name: ":bug:" description: "(fix) ๐ Bug fix" value: ":bug: fix:" - name: ":+1:" description: "(fix) ๐ Functional improvements and corrections" value: ":+1: fix:" - name: ":cop:" description: "(fix) ๐ฎ Security related fixes" value: ":cop: fix:" - name: ":tada" description: "(feat) ๐ Big feature addition" value: ":tada: feat:" - name: ":sparkles:" description: "(feat) โจ Partial function addition" value: ":sparkles: feat:" - name: ":up:" description: "(feat) ๐ Update of dependent packages, etc" value: ":up: feat:" - name: ":memo:" description: "(docs) ๐ Add or modify documents" value: ":memo: docs:" - name: ":bulb" description: "(docs) ๐ก Adding or modifying comments to the source code" value: ":bulb: docs:" - name: ":art:" description: "(style) ๐จ Layout related fixes" value: ":art: style:" - name: ":lipstick:" description: "(style) ๐ Lint: Fix errors and code style" value: ":lipstick: style:" - name: ":recycle:" description: "(refactor) โป๏ธ Refactor" value: ":recycle: refactor:" - name: ":fire:" description: "(refactor) ๐ฅ Delete code or files" value: ":fire: refactor:" - name: ":green_heart:" description: "(test) ๐ Testing and CI fixes" value: ":green_heart: test:" - name: ":rocket:" description: "(perf) ๐ Performance improvement" value: ":rocket: perf:" - name: ":wrench:" description: "(chore) ๐ง Modifying the configuration file" value: ":wrench: chore:" - name: ":building_construction:" description: "(chore) ๐๏ธ Architecture fixes" value: ":building_construction: chore:" - name: ":construction:" description: "(wip) ๐ง Working on" value: ":construction: wip:" - type: "input" title: "Enter the Message" key: "Message" initialValue: "" Custom commands Using Gitmoji with custom commands allows you to create a command that selects the desired Gitmoji and even the desired issue number. Here is an example: For this config I first select the correct gitmoji and then the issue. For that i have a bash command that get all my gitlab issues (based on glab) ...