Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 26, 2021 03:52 pm GMT

Adding Gitmark to lazygit

Gitmark is a way to mark your git commits to achieve finalization

Lazygit is a useful tool for those running git on the command line

Lazygit has an interesting feature which lets you add commands to key bindings. Here's how I added a gitmark workflow to lazygit

customCommands:  - key: 'm'    context: 'global'    subprocess: true    prompts:      - type: 'menu'        title: 'Git Mark?'        options:          - name: 'trial'            description: 'trial run'          - name: 'commit'            description: 'commit'            value: '--tag --send --commit'          - name: 'init'            description: 'init'            value: 'init'    command: 'git mark {{index .PromptResponses 0}}'

Original Link: https://dev.to/melvincarvalho/adding-gitmark-to-lazygit-dmc

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To