• lseif@sopuli.xyz
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    11 months ago

    using LazyGit in tmux has changed my workflow.

    instead of: git add . git commit -m 'foo' fg

    i just: g ac foo q

    and it displays everything neatly

    Edit: apparently greater/less than symbols dont render properly on lemmy. so imagine a few (CR)'s and (C-b)'s sprinkled in

    • alphabetsheep@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      11 months ago

      Are you able to fall back to normal git commands if you don’t know the shortcuts? This sounds awesome until I can’t remember the syntax to do something I don’t do everyday.

      • lseif@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        you can run shell commands with :, and there may be a nicer way for git-specific commands which i dont know about.

        each ‘pane’ (such as ‘changed/staged files’, ‘commit log’, etc) has its own keybinds, which you can see with ?